Demos and Usage of org.apache.commons.httpclient.HttpConnectionManager.closeIdleConnections(long idleTimeout)


   1: 
   2: import org.apache.commons.httpclient.HttpConnectionManager;
   3: 
   4:         ...
   5:     
   6:     public synchronized void addConnectionManager(HttpConnectionManager connectionManager) {
   7:         if (shutdown) {
   8:         ...
   9:     
  10:     public synchronized void removeConnectionManager(HttpConnectionManager connectionManager) {
  11:         if (shutdown) {
  12:         ...
  13:     protected void handleCloseIdleConnections(HttpConnectionManager connectionManager) {
  14:         connectionManager.closeIdleConnections(connectionTimeout);

View Full Code Here