Package | Description |
---|---|
org.apache.commons.httpclient |
Classes and interfaces supporting the client side of the HTTP protocol.
|
org.apache.commons.httpclient.util |
Provides some utility classes for use by HttpClient.
|
Modifier and Type | Class and Description |
---|---|
class |
MultiThreadedHttpConnectionManager
Manages a set of HttpConnections for various HostConfigurations.
|
class |
SimpleHttpConnectionManager
A connection manager that provides access to a single HttpConnection.
|
Modifier and Type | Method and Description |
---|---|
HttpConnectionManager |
HttpConnection.getHttpConnectionManager()
Returns the httpConnectionManager.
|
HttpConnectionManager |
HttpClient.getHttpConnectionManager()
Returns the
HTTP connection manager associated
with the HttpClient. |
Modifier and Type | Method and Description |
---|---|
void |
HttpConnection.setHttpConnectionManager(HttpConnectionManager httpConnectionManager)
Sets the httpConnectionManager.
|
void |
HttpClient.setHttpConnectionManager(HttpConnectionManager httpConnectionManager)
Assigns the
HTTP connection manager to use with
the HttpClient. |
Constructor and Description |
---|
HttpClient(HttpClientParams params,
HttpConnectionManager httpConnectionManager)
Creates an instance of HttpClient with a user specified
parameter set and
HTTP connection manager . |
HttpClient(HttpConnectionManager httpConnectionManager)
Creates an instance of HttpClient with a user specified
HTTP connection manager . |
Modifier and Type | Method and Description |
---|---|
void |
IdleConnectionTimeoutThread.addConnectionManager(HttpConnectionManager connectionManager)
Adds a connection manager to be handled by this class.
|
protected void |
IdleConnectionTimeoutThread.handleCloseIdleConnections(HttpConnectionManager connectionManager)
Handles calling
closeIdleConnections()
and doing any other cleanup work on the given connection mangaer. |
void |
IdleConnectionTimeoutThread.removeConnectionManager(HttpConnectionManager connectionManager)
Removes the connection manager from this class.
|
Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.