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

This class is not synchronized.

Constructor:
 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.