|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.auxiliary.remote.http.client.AbstractHttpClient
public abstract class AbstractHttpClient
This class simply configures the http multithreaded connection manager.
This is abstract because it can't do anything. Child classes can overwrite whatever they want.
Constructor Summary | |
---|---|
AbstractHttpClient(RemoteHttpCacheAttributes remoteHttpCacheAttributes)
Sets the default Properties File and Heading, and creates the HttpClient and connection manager. |
Method Summary | |
---|---|
void |
configureClient()
Configures the http client. |
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager |
getConnectionManager()
|
org.apache.commons.httpclient.HttpClient |
getHttpClient()
|
RemoteHttpCacheAttributes |
getRemoteHttpCacheAttributes()
|
void |
setConnectionManager(org.apache.commons.httpclient.MultiThreadedHttpConnectionManager connectionManager)
|
void |
setHttpClient(org.apache.commons.httpclient.HttpClient httpClient)
|
void |
setRemoteHttpCacheAttributes(RemoteHttpCacheAttributes remoteHttpCacheAttributes)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractHttpClient(RemoteHttpCacheAttributes remoteHttpCacheAttributes)
remoteHttpCacheAttributes
- Method Detail |
---|
public void configureClient()
public org.apache.commons.httpclient.HttpClient getHttpClient()
public void setHttpClient(org.apache.commons.httpclient.HttpClient httpClient)
httpClient
- The httpClient to set.public org.apache.commons.httpclient.MultiThreadedHttpConnectionManager getConnectionManager()
public void setConnectionManager(org.apache.commons.httpclient.MultiThreadedHttpConnectionManager connectionManager)
connectionManager
- The connectionManager to set.public void setRemoteHttpCacheAttributes(RemoteHttpCacheAttributes remoteHttpCacheAttributes)
remoteHttpCacheAttributes
- the remoteHttpCacheAttributes to setpublic RemoteHttpCacheAttributes getRemoteHttpCacheAttributes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |