org.apache.jcs.auxiliary.remote.http.client
Class RemoteHttpCacheAttributes
java.lang.Object
org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
org.apache.jcs.auxiliary.remote.RemoteCacheAttributes
org.apache.jcs.auxiliary.remote.http.client.RemoteHttpCacheAttributes
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, AuxiliaryCacheAttributes, IRemoteCacheAttributes
public class RemoteHttpCacheAttributes
- extends RemoteCacheAttributes
Http client specific settings.
- See Also:
- Serialized Form
Methods inherited from class org.apache.jcs.auxiliary.remote.RemoteCacheAttributes |
copy, getClusterServers, getFailoverIndex, getFailovers, getFailoverServers, getGetOnly, getGetTimeoutMillis, getLocalClusterConsistency, getLocalPort, getRemoteHost, getRemotePort, getRemoteServiceName, getRemoteType, getRemoteTypeName, getRemoveUponRemotePut, getRmiSocketFactoryTimeoutMillis, getThreadPoolName, getZombieQueueMaxSize, isReceive, setClusterServers, setFailoverIndex, setFailovers, setFailoverServers, setGetOnly, setGetTimeoutMillis, setLocalClusterConsistency, setLocalPort, setReceive, setRemoteHost, setRemotePort, setRemoteServiceName, setRemoteType, setRemoteTypeName, setRemoveUponRemotePut, setRmiSocketFactoryTimeoutMillis, setThreadPoolName, setZombieQueueMaxSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT_REMOTE_HTTP_CLIENT_CLASS_NAME
public static final java.lang.String DEFAULT_REMOTE_HTTP_CLIENT_CLASS_NAME
- The default classname for the client.
RemoteHttpCacheAttributes
public RemoteHttpCacheAttributes()
setMaxConnectionsPerHost
public void setMaxConnectionsPerHost(int maxConnectionsPerHost)
- Parameters:
maxConnectionsPerHost
- the maxConnectionsPerHost to set
getMaxConnectionsPerHost
public int getMaxConnectionsPerHost()
- Returns:
- the maxConnectionsPerHost
setSocketTimeoutMillis
public void setSocketTimeoutMillis(int socketTimeoutMillis)
- Parameters:
socketTimeoutMillis
- the socketTimeoutMillis to set
getSocketTimeoutMillis
public int getSocketTimeoutMillis()
- Returns:
- the socketTimeoutMillis
setHttpVersion
public void setHttpVersion(java.lang.String httpVersion)
- Parameters:
httpVersion
- the httpVersion to set
getHttpVersion
public java.lang.String getHttpVersion()
- Returns:
- the httpVersion
setConnectionTimeoutMillis
public void setConnectionTimeoutMillis(int connectionTimeoutMillis)
- Parameters:
connectionTimeoutMillis
- the connectionTimeoutMillis to set
getConnectionTimeoutMillis
public int getConnectionTimeoutMillis()
- Returns:
- the connectionTimeoutMillis
setIncludeCacheNameAsParameter
public void setIncludeCacheNameAsParameter(boolean includeCacheNameInURL)
- Parameters:
includeCacheNameInURL
- the includeCacheNameInURL to set
isIncludeCacheNameAsParameter
public boolean isIncludeCacheNameAsParameter()
- Returns:
- the includeCacheNameInURL
setIncludeKeysAndPatternsAsParameter
public void setIncludeKeysAndPatternsAsParameter(boolean includeKeysAndPatternsInURL)
- Parameters:
includeKeysAndPatternsInURL
- the includeKeysAndPatternsInURL to set
isIncludeKeysAndPatternsAsParameter
public boolean isIncludeKeysAndPatternsAsParameter()
- Returns:
- the includeKeysAndPatternsInURL
setIncludeRequestTypeasAsParameter
public void setIncludeRequestTypeasAsParameter(boolean includeRequestTypeasAsParameter)
- Parameters:
includeRequestTypeasAsParameter
- the includeRequestTypeasAsParameter to set
isIncludeRequestTypeasAsParameter
public boolean isIncludeRequestTypeasAsParameter()
- Returns:
- the includeRequestTypeasAsParameter
setUrl
public void setUrl(java.lang.String url)
- Parameters:
url
- the url to set
getUrl
public java.lang.String getUrl()
- Returns:
- the url
setRemoteHttpClientClassName
public void setRemoteHttpClientClassName(java.lang.String remoteHttpClientClassName)
- Parameters:
remoteHttpClientClassName
- the remoteHttpClientClassName to set
getRemoteHttpClientClassName
public java.lang.String getRemoteHttpClientClassName()
- Returns:
- the remoteHttpClientClassName
toString
public java.lang.String toString()
- Overrides:
toString
in class RemoteCacheAttributes
- Returns:
- String details
Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.