| |
|
| java.lang.Object org.apache.commons.httpclient.util.IdleConnectionHandler
Method Summary | |
public void | add(HttpConnection connection) Registers the given connection with this handler. | public void | closeIdleConnections(long idleTime) Closes connections that have been idle for at least the given amount of time. | public void | remove(HttpConnection connection) Removes the given connection from the list of connections to be closed when idle. | public void | removeAll() Removes all connections referenced by this handler. |
IdleConnectionHandler | public IdleConnectionHandler()(Code) | | |
closeIdleConnections | public void closeIdleConnections(long idleTime)(Code) | | Closes connections that have been idle for at least the given amount of time.
Parameters: idleTime - the minimum idle time, in milliseconds, for connections to be closed |
remove | public void remove(HttpConnection connection)(Code) | | Removes the given connection from the list of connections to be closed when idle.
Parameters: connection - |
removeAll | public void removeAll()(Code) | | Removes all connections referenced by this handler.
|
|
|
|