Top Description Fields Constructors Methods
org.apache.http.impl.conn.tsccm

public Class BasicPooledConnAdapter

extends AbstractPooledConnAdapter
Class Inheritance
Annotations
@Deprecated
Imports
org.apache.http.conn.ClientConnectionManager, org.apache.http.impl.conn.AbstractPoolEntry, .AbstractPooledConnAdapter

Deprecated

(4.2) do not use

A connection wrapper and callback handler. All connections given out by the manager are wrappers which can be detached to prevent further use on release.
Since
4.0

Field Summary

Inherited from org.apache.http.impl.conn.AbstractPooledConnAdapter:
poolEntry

Constructor Summary

AccessConstructor and Description
protected
BasicPooledConnAdapter(final ThreadSafeClientConnManager
the connection manager
tsccm
,
final AbstractPoolEntry
the pool entry for the connection being wrapped
entry
)

Deprecated as a consequence of ThreadSafeClientConnManager and AbstractPoolEntry being deprecated.
Creates a new adapter.

Method Summary

Modifier and TypeMethod and Description
protected void
detach()

Overrides org.apache.http.impl.conn.AbstractPooledConnAdapter.detach.

Detaches this adapter from the wrapped connection.
protected ClientConnectionManager
getManager()

Overrides org.apache.http.impl.conn.AbstractClientConnAdapter.getManager.

Deprecated as a consequence of ClientConnectionManager being deprecated.
protected AbstractPoolEntry
getPoolEntry()

Overrides org.apache.http.impl.conn.AbstractPooledConnAdapter.getPoolEntry.

Deprecated as a consequence of AbstractPoolEntry being deprecated.
Obtains the pool entry.
Inherited from org.apache.http.impl.conn.AbstractPooledConnAdapter:
assertAttachedassertValidclosegetIdgetRoutegetStatelayerProtocolopensetStateshutdowntunnelProxytunnelTarget

Constructor Detail

BasicPooledConnAdapterback to summary
protected BasicPooledConnAdapter(final ThreadSafeClientConnManager tsccm, final AbstractPoolEntry entry)

Deprecated

as a consequence of ThreadSafeClientConnManager and AbstractPoolEntry being deprecated. See corresponding docs for further information.

Creates a new adapter.

Parameters
tsccm:ThreadSafeClientConnManager

the connection manager

entry:AbstractPoolEntry

the pool entry for the connection being wrapped

Method Detail

detachback to summary
protected void detach()

Overrides org.apache.http.impl.conn.AbstractPooledConnAdapter.detach.

Doc from org.apache.http.impl.conn.AbstractPooledConnAdapter.detach.

Detaches this adapter from the wrapped connection. This adapter becomes useless.

Annotations
@Override
getManagerback to summary
protected ClientConnectionManager getManager()

Overrides org.apache.http.impl.conn.AbstractClientConnAdapter.getManager.

Deprecated

as a consequence of ClientConnectionManager being deprecated. See corresponding docs for further information.

Annotations
@Override
getPoolEntryback to summary
protected AbstractPoolEntry getPoolEntry()

Overrides org.apache.http.impl.conn.AbstractPooledConnAdapter.getPoolEntry.

Doc from org.apache.http.impl.conn.AbstractPooledConnAdapter.getPoolEntry.

Deprecated

as a consequence of AbstractPoolEntry being deprecated. See corresponding docs for further information.

Obtains the pool entry.

Returns:AbstractPoolEntry

the pool entry, or null if detached

Annotations
@Override