Package | Description |
---|---|
org.apache.http.conn |
The client-side connection management and handling API that provides interfaces
and implementations for opening and managing client side HTTP connections.
|
org.apache.http.impl.client |
Default implementations for interfaces in
org.apache.http.client . |
org.apache.http.impl.conn |
Default implementations for interfaces in
org.apache.http.impl.conn and related classes. |
org.apache.http.impl.conn.tsccm |
The implementation of a thread-safe client connection manager.
|
Modifier and Type | Field and Description |
---|---|
protected ManagedClientConnection |
BasicManagedEntity.managedConn
The connection to release.
|
protected ManagedClientConnection |
BasicEofSensorWatcher.managedConn
The connection to auto-release.
|
Modifier and Type | Method and Description |
---|---|
ManagedClientConnection |
ClientConnectionRequest.getConnection(long timeout,
TimeUnit tunit)
Obtains a connection within a given time.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientConnectionManager.releaseConnection(ManagedClientConnection conn,
long validDuration,
TimeUnit timeUnit)
Releases a connection for use by others.
|
Constructor and Description |
---|
BasicEofSensorWatcher(ManagedClientConnection conn,
boolean reuse)
Creates a new watcher for auto-releasing a connection.
|
BasicManagedEntity(org.apache.http.HttpEntity entity,
ManagedClientConnection conn,
boolean reuse)
Creates a new managed entity that can release a connection.
|
Modifier and Type | Field and Description |
---|---|
protected ManagedClientConnection |
DefaultRequestDirector.managedConn
The currently allocated connection.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractClientConnAdapter
Deprecated.
(4.2) do not use
|
class |
AbstractPooledConnAdapter
Deprecated.
(4.2) do not use
|
protected class |
SingleClientConnManager.ConnAdapter
Deprecated.
The connection adapter used by this manager.
|
Modifier and Type | Method and Description |
---|---|
ManagedClientConnection |
SingleClientConnManager.getConnection(HttpRoute route,
Object state)
Deprecated.
Obtains a connection.
|
Modifier and Type | Method and Description |
---|---|
void |
BasicClientConnectionManager.releaseConnection(ManagedClientConnection conn,
long keepalive,
TimeUnit tunit) |
void |
SingleClientConnManager.releaseConnection(ManagedClientConnection conn,
long validDuration,
TimeUnit timeUnit)
Deprecated.
|
void |
PoolingClientConnectionManager.releaseConnection(ManagedClientConnection conn,
long keepalive,
TimeUnit tunit) |
Modifier and Type | Class and Description |
---|---|
class |
BasicPooledConnAdapter
Deprecated.
(4.2) do not use
|
Modifier and Type | Method and Description |
---|---|
void |
ThreadSafeClientConnManager.releaseConnection(ManagedClientConnection conn,
long validDuration,
TimeUnit timeUnit)
Deprecated.
|
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.