org.apache.http.impl.conn.tsccm.PoolEntryRequest |
Encapsulates a request for a
BasicPoolEntry
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Aborts the active or next call to
getPoolEntry(long, TimeUnit)
.
|
||||||||||
|
Obtains a pool entry with a connection within the given timeout.
|
Aborts the active or next call to
getPoolEntry(long, TimeUnit)
.
Obtains a pool entry with a connection within the given timeout.
If
abortRequest()
is called before this completes
an
InterruptedException
is thrown.
timeout | the timeout, 0 or negative for no timeout |
---|---|
tunit |
the unit for the
timeout
,
may be
null
only if there is no timeout
|
ConnectionPoolTimeoutException | if the timeout expired |
---|---|
InterruptedException | if the calling thread was interrupted or the request was aborted |