Home » commons-httpclient-3.1-src » org.apache.commons » httpclient » util » [javadoc | source]
public class: IdleConnectionHandler [javadoc | source]
A helper class for connection managers to track idle connections.

This class is not synchronized.

 public IdleConnectionHandler() 
Method from org.apache.commons.httpclient.util.IdleConnectionHandler Summary:
add,   closeIdleConnections,   remove,   removeAll
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.httpclient.util.IdleConnectionHandler Detail:
 public  void add(HttpConnection connection) 
 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.