Deprecated
(4.2) do not use
adapter.
The adapter is handed out to applications that obtain a connection.
The pool entry stores the underlying connection and tracks the
route established.
The adapter delegates methods for establishing the route to
its pool entry.
If the managed connections is released or revoked, the adapter gets disconnected, but the pool entry still contains the underlying connection and the established route.
| Modifier and Type | Field and Description |
|---|---|
| protected final OperatedClientConnection | connection
The underlying connection being pooled or used. |
| protected final ClientConnectionOperator | connOperator
The connection operator. |
| protected volatile HttpRoute | route
The route for which this entry gets allocated. |
| protected volatile Object | state
Connection state object |
| protected volatile RouteTracker | tracker
The tracked route, or |
| Access | Constructor and Description |
|---|---|
| protected | AbstractPoolEntry(final ClientConnectionOperator
the Connection Operator for this entry connOperator, final HttpRoute the planned route for the connection,
or route)null
Deprecated
as a consequence of
Creates a new pool entry.
ClientConnectionOperator being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public void | layerProtocol(final HttpContext
the context for layering context, final HttpParams the parameters for layering params)
Deprecated
as a consequence of
Layers a protocol on top of an established tunnel.
HttpParams being deprecated.
|
| public void | open(final HttpRoute
the route along which to open the connection route, final HttpContext the context for opening the connection context, final HttpParams the parameters for opening the connection params)
Deprecated
as a consequence of
Opens the underlying connection.
HttpParams being deprecated.
|
| public void | |
| protected void | |
| public void | tunnelProxy(final HttpHost
the proxy to which the tunnel was established.
See next, final boolean ManagedClientConnection.
for details.true if the tunnel should be
considered secure, false otherwisethe parameters for tunnelling the connection params)
Deprecated
as a consequence of
Tracks tunnelling of the connection to a chained proxy.
HttpParams being deprecated.
|
| public void | tunnelTarget(final boolean
true if the tunnel should be
considered secure, false otherwisethe parameters for tunnelling the connection params)
Deprecated
as a consequence of
Tracks tunnelling of the connection to the target.
HttpParams being deprecated.
|
| connection | back to summary |
|---|---|
| protected final OperatedClientConnection connection
Deprecated as a consequence of The underlying connection being pooled or used. | |
| connOperator | back to summary |
|---|---|
| protected final ClientConnectionOperator connOperator
Deprecated as a consequence of The connection operator. | |
| route | back to summary |
|---|---|
| protected volatile HttpRoute route The route for which this entry gets allocated. | |
| state | back to summary |
|---|---|
| protected volatile Object state Connection state object | |
| tracker | back to summary |
|---|---|
| protected volatile RouteTracker tracker The tracked route, or | |
| AbstractPoolEntry | back to summary |
|---|---|
| protected AbstractPoolEntry(final ClientConnectionOperator connOperator, final HttpRoute route)
Deprecated as a consequence of Creates a new pool entry.
| |
| getState | back to summary |
|---|---|
| public Object getState() Returns the state object associated with this pool entry.
| |
| layerProtocol | back to summary |
|---|---|
| public void layerProtocol(final HttpContext context, final HttpParams params) throws IOException
Deprecated as a consequence of Layers a protocol on top of an established tunnel.
| |
| open | back to summary |
|---|---|
| public void open(final HttpRoute route, final HttpContext context, final HttpParams params) throws IOException
Deprecated as a consequence of Opens the underlying connection.
| |
| setState | back to summary |
|---|---|
| public void setState(final Object state) Assigns a state object to this pool entry.
| |
| shutdownEntry | back to summary |
|---|---|
| protected void shutdownEntry() Shuts down the entry.
If | |
| tunnelProxy | back to summary |
|---|---|
| public void tunnelProxy(final HttpHost next, final boolean secure, final HttpParams params) throws IOException
Deprecated as a consequence of Tracks tunnelling of the connection to a chained proxy. The tunnel has to be established outside by sending a CONNECT request to the previous proxy.
| |
| tunnelTarget | back to summary |
|---|---|
| public void tunnelTarget(final boolean secure, final HttpParams params) throws IOException
Deprecated as a consequence of Tracks tunnelling of the connection to the target. The tunnel has to be established outside by sending a CONNECT request to the (last) proxy.
| |