| java.lang.Object org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager
HttpConnectionManager | public class HttpConnectionManager (Code) | | HttpConnectionManager manages a pool of HttpConnection s
that are not currently in use and is used to get hold of persistent HttpConnection s.
Clients should return an HttpConnection to the pool after use by calling
returnConnectionToPool
Two system properties affect the behaviour of this class - http.maxConnections
and http.keepAlive . http.keepAlive determines whether
or not connections should be persisted and http.maxConnections
determines the maximum number of connections to each individual host that
should be kept in the pool.
|
numFreeConnections | public int numFreeConnections()(Code) | | |
reset | public void reset()(Code) | | |
|
|