List of usage examples for org.apache.http.impl.conn IdleConnectionHandler IdleConnectionHandler
public IdleConnectionHandler()
From source file:org.apache.http.impl.conn.tsccm.AbstractConnPool.java
/** * Creates a new connection pool./*from w w w . j av a 2s . c om*/ */ protected AbstractConnPool() { super(); this.log = LogFactory.getLog(getClass()); this.leasedConnections = new HashSet<BasicPoolEntry>(); this.idleConnHandler = new IdleConnectionHandler(); this.poolLock = new ReentrantLock(); }