|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HostConfiguration | |
---|---|
org.apache.commons.httpclient | Classes and interfaces supporting the client side of the HTTP protocol. |
org.apache.commons.httpclient.params | HttpClient preferences framework. |
Uses of HostConfiguration in org.apache.commons.httpclient |
---|
Fields in org.apache.commons.httpclient declared as HostConfiguration | |
---|---|
static HostConfiguration |
HostConfiguration.ANY_HOST_CONFIGURATION
A value to represent any host configuration, instead of using something like null . |
Methods in org.apache.commons.httpclient that return HostConfiguration | |
---|---|
HostConfiguration |
ProxyClient.getHostConfiguration()
Returns the host configuration associated with the
ProxyClient. |
HostConfiguration |
HttpClient.getHostConfiguration()
Returns the host configuration associated with the
HttpClient. |
HostConfiguration |
HttpMethodBase.getHostConfiguration()
Deprecated. no longer applicable |
HostConfiguration |
HttpMethod.getHostConfiguration()
Deprecated. no longer applicable |
Methods in org.apache.commons.httpclient with parameters of type HostConfiguration | |
---|---|
int |
HttpClient.executeMethod(HostConfiguration hostConfiguration,
HttpMethod method)
Executes the given HTTP method using custom
host configuration . |
int |
HttpClient.executeMethod(HostConfiguration hostconfig,
HttpMethod method,
HttpState state)
Executes the given HTTP method using the given custom
host configuration with the given custom
HTTP state . |
HttpConnection |
MultiThreadedHttpConnectionManager.getConnection(HostConfiguration hostConfiguration)
|
HttpConnection |
SimpleHttpConnectionManager.getConnection(HostConfiguration hostConfiguration)
|
HttpConnection |
HttpConnectionManager.getConnection(HostConfiguration hostConfiguration)
Gets an HttpConnection for a given host configuration. |
HttpConnection |
MultiThreadedHttpConnectionManager.getConnection(HostConfiguration hostConfiguration,
long timeout)
Deprecated. Use #getConnectionWithTimeout(HostConfiguration, long) |
HttpConnection |
SimpleHttpConnectionManager.getConnection(HostConfiguration hostConfiguration,
long timeout)
Deprecated. Use #getConnectionWithTimeout(HostConfiguration, long) |
HttpConnection |
HttpConnectionManager.getConnection(HostConfiguration hostConfiguration,
long timeout)
Deprecated. Use #getConnectionWithTimeout(HostConfiguration, long) |
int |
MultiThreadedHttpConnectionManager.getConnectionsInPool(HostConfiguration hostConfiguration)
Gets the total number of pooled connections for the given host configuration. |
int |
MultiThreadedHttpConnectionManager.getConnectionsInUse(HostConfiguration hostConfiguration)
Deprecated. Use MultiThreadedHttpConnectionManager.getConnectionsInPool(HostConfiguration) |
HttpConnection |
MultiThreadedHttpConnectionManager.getConnectionWithTimeout(HostConfiguration hostConfiguration,
long timeout)
Gets a connection or waits if one is not available. |
HttpConnection |
SimpleHttpConnectionManager.getConnectionWithTimeout(HostConfiguration hostConfiguration,
long timeout)
This method always returns the same connection object. |
HttpConnection |
HttpConnectionManager.getConnectionWithTimeout(HostConfiguration hostConfiguration,
long timeout)
Gets an HttpConnection for a given host configuration. |
void |
ProxyClient.setHostConfiguration(HostConfiguration hostConfiguration)
Assigns the host configuration to use with the
ProxyClient. |
void |
HttpClient.setHostConfiguration(HostConfiguration hostConfiguration)
Assigns the host configuration to use with the
HttpClient. |
void |
HttpMethodBase.setHostConfiguration(HostConfiguration hostconfig)
Deprecated. no longer applicable |
Constructors in org.apache.commons.httpclient with parameters of type HostConfiguration | |
---|---|
ConnectMethod(HostConfiguration targethost)
Create a connect method. |
|
HostConfiguration(HostConfiguration hostConfiguration)
Copy constructor for HostConfiguration |
|
HttpConnection(HostConfiguration hostConfiguration)
Creates a new HTTP connection for the given host configuration. |
Uses of HostConfiguration in org.apache.commons.httpclient.params |
---|
Methods in org.apache.commons.httpclient.params with parameters of type HostConfiguration | |
---|---|
int |
HttpConnectionManagerParams.getMaxConnectionsPerHost(HostConfiguration hostConfiguration)
Gets the maximum number of connections to be used for a particular host config. |
void |
HttpConnectionManagerParams.setMaxConnectionsPerHost(HostConfiguration hostConfiguration,
int maxHostConnections)
Sets the maximum number of connections to be used for the given host config. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |