org.apache.http.pool.ConnPool implementation that
represents a pool of blocking HttpClientConnection connections
identified by an HttpHost instance. Please note this pool
implementation does not support complex routes via a proxy cannot
differentiate between direct and proxied connections.
HttpHost
| Modifier and Type | Field and Description |
|---|---|
| private static final AtomicLong |
| Access | Constructor and Description |
|---|---|
| public | |
| public | BasicConnPool(final HttpParams params)
Deprecated
(4.3) use
BasicConnPool#BasicConnPool(SocketConfig, ConnectionConfig)
|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected BasicPoolEntry | createEntry(final HttpHost host, final HttpClientConnection conn)
Implements abstract org. |
| protected boolean |
| COUNTER | back to summary |
|---|---|
| private static final AtomicLong COUNTER | |
| BasicConnPool | back to summary |
|---|---|
| public BasicConnPool(final ConnFactory<HttpHost, HttpClientConnection> connFactory) | |
| BasicConnPool | back to summary |
|---|---|
| public BasicConnPool(final HttpParams params)
Deprecated (4.3) use
| |
| BasicConnPool | back to summary |
|---|---|
public BasicConnPool(final SocketConfig sconfig, final ConnectionConfig cconfig)
| |
| BasicConnPool | back to summary |
|---|---|
public BasicConnPool()
| |
| createEntry | back to summary |
|---|---|
| protected BasicPoolEntry createEntry(final HttpHost host, final HttpClientConnection conn) Implements abstract org. Doc from org. Creates a new entry for the given connection with the given route.
| |
| validate | back to summary |
|---|---|
| protected boolean validate(final BasicPoolEntry entry) Overrides org.
| |