java.lang.Object | ||
↳ | org.apache.http.impl.conn.AbstractClientConnAdapter | |
↳ | org.apache.http.impl.conn.AbstractPooledConnAdapter |
![]() |
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
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
|||||||||||
![]() |
|||||||||||
![]() |
|||||||||||
![]() |
|||||||||||
![]() |
|||||||||||
![]() |
|||||||||||
![]() |
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.