Package org.apache.http.impl.conn
Class SingleClientConnManager.ConnAdapter
- java.lang.Object
-
- org.apache.http.impl.conn.AbstractClientConnAdapter
-
- org.apache.http.impl.conn.AbstractPooledConnAdapter
-
- org.apache.http.impl.conn.SingleClientConnManager.ConnAdapter
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,ConnectionReleaseTrigger
,HttpRoutedConnection
,ManagedClientConnection
,ManagedHttpClientConnection
,org.apache.http.HttpClientConnection
,org.apache.http.HttpConnection
,org.apache.http.HttpInetConnection
,org.apache.http.protocol.HttpContext
- Enclosing class:
- SingleClientConnManager
protected class SingleClientConnManager.ConnAdapter extends AbstractPooledConnAdapter
The connection adapter used by this manager.
-
-
Field Summary
-
Fields inherited from class org.apache.http.impl.conn.AbstractPooledConnAdapter
poolEntry
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ConnAdapter(SingleClientConnManager.PoolEntry entry, HttpRoute route)
Creates a new connection adapter.
-
Method Summary
-
Methods inherited from class org.apache.http.impl.conn.AbstractPooledConnAdapter
assertAttached, assertValid, close, detach, getId, getPoolEntry, getRoute, getState, layerProtocol, open, setState, shutdown, tunnelProxy, tunnelTarget
-
Methods inherited from class org.apache.http.impl.conn.AbstractClientConnAdapter
abortConnection, assertNotAborted, assertValid, bind, flush, getAttribute, getLocalAddress, getLocalPort, getManager, getMetrics, getRemoteAddress, getRemotePort, getSocket, getSocketTimeout, getSSLSession, getWrappedConnection, isMarkedReusable, isOpen, isReleased, isResponseAvailable, isSecure, isStale, markReusable, receiveResponseEntity, receiveResponseHeader, releaseConnection, removeAttribute, sendRequestEntity, sendRequestHeader, setAttribute, setIdleDuration, setSocketTimeout, unmarkReusable
-
-
-
-
Constructor Detail
-
ConnAdapter
protected ConnAdapter(SingleClientConnManager.PoolEntry entry, HttpRoute route)
Creates a new connection adapter.- Parameters:
entry
- the pool entry for the connection being wrappedroute
- the planned route for this connection
-
-