|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.impl.conn.AbstractClientConnAdapter
org.apache.http.impl.conn.AbstractPooledConnAdapter
org.apache.http.impl.conn.tsccm.BasicPooledConnAdapter
public class BasicPooledConnAdapter
A connection wrapper and callback handler.
All connections given out by the manager are wrappers which
can be detach
ed to prevent further use on release.
Field Summary |
---|
Fields inherited from class org.apache.http.impl.conn.AbstractPooledConnAdapter |
---|
poolEntry |
Fields inherited from interface org.apache.http.protocol.HttpContext |
---|
RESERVED_PREFIX |
Constructor Summary | |
---|---|
protected |
BasicPooledConnAdapter(ThreadSafeClientConnManager tsccm,
AbstractPoolEntry entry)
Creates a new adapter. |
Method Summary | |
---|---|
protected void |
detach()
Detaches this adapter from the wrapped connection. |
protected ClientConnectionManager |
getManager()
|
protected AbstractPoolEntry |
getPoolEntry()
Obtains the pool entry. |
Methods inherited from class org.apache.http.impl.conn.AbstractPooledConnAdapter |
---|
assertAttached, assertValid, close, getRoute, getState, layerProtocol, open, setState, shutdown, tunnelProxy, tunnelTarget |
Methods inherited from class org.apache.http.impl.conn.AbstractClientConnAdapter |
---|
abortConnection, assertNotAborted, assertValid, flush, getAttribute, getLocalAddress, getLocalPort, getMetrics, getRemoteAddress, getRemotePort, getSocketTimeout, getSSLSession, getWrappedConnection, isMarkedReusable, isOpen, isReleased, isResponseAvailable, isSecure, isStale, markReusable, receiveResponseEntity, receiveResponseHeader, releaseConnection, removeAttribute, sendRequestEntity, sendRequestHeader, setAttribute, setIdleDuration, setSocketTimeout, unmarkReusable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected BasicPooledConnAdapter(ThreadSafeClientConnManager tsccm, AbstractPoolEntry entry)
tsccm
- the connection managerentry
- the pool entry for the connection being wrappedMethod Detail |
---|
protected ClientConnectionManager getManager()
getManager
in class AbstractClientConnAdapter
protected AbstractPoolEntry getPoolEntry()
AbstractPooledConnAdapter
getPoolEntry
in class AbstractPooledConnAdapter
null
if detachedprotected void detach()
AbstractPooledConnAdapter
detach
in class AbstractPooledConnAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |