public abstract class AbstractHttpClient
extends java.lang.Object
This is abstract because it can't do anything. Child classes can overwrite whatever they want.
Constructor and Description |
---|
AbstractHttpClient(RemoteHttpCacheAttributes remoteHttpCacheAttributes)
Sets the default Properties File and Heading, and creates the HttpClient and connection
manager.
|
Modifier and Type | Method and Description |
---|---|
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) |
public AbstractHttpClient(RemoteHttpCacheAttributes remoteHttpCacheAttributes)
remoteHttpCacheAttributes
- 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()
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.