java.lang.Object | ||
↳ | org.apache.http.impl.conn.AbstractClientConnAdapter | |
↳ | org.apache.http.impl.conn.AbstractPooledConnAdapter |
Known Direct Subclasses |
Abstract adapter from pool
entries
to
managed
client connections.
The connection in the pool entry is used to initialize the base class.
In addition, methods to establish a route are delegated to the
pool entry.
shutdown
and
close
will clear the tracked route in the pool entry and call the
respective method of the wrapped connection.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
poolEntry | The wrapped pool entry. |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Creates a new connection adapter.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
|
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Asserts that this adapter is still attached.
|
||||||||||
|
Detaches this adapter from the wrapped connection.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.impl.conn.AbstractClientConnAdapter
|
|||||||||||
From class
java.lang.Object
|
|||||||||||
From interface
org.apache.http.HttpClientConnection
|
|||||||||||
From interface
org.apache.http.HttpConnection
|
|||||||||||
From interface
org.apache.http.HttpInetConnection
|
|||||||||||
From interface
org.apache.http.conn.ConnectionReleaseTrigger
|
|||||||||||
From interface
org.apache.http.conn.ManagedClientConnection
|
Creates a new connection adapter.
manager | the connection manager |
---|---|
entry | the pool entry for the connection being wrapped |
IOException |
---|
IOException |
---|
IOException |
---|
IOException |
---|
Asserts that this adapter is still attached.
IllegalStateException |
if it is
detach
ed
|
---|
Detaches this adapter from the wrapped connection. This adapter becomes useless.