No examples for this method.
Frequently called with: [Clear]
-1
org.apache.http.conn.ClientConnectionRequest |
Encapsulates a request for a ManagedClientConnection
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Aborts the call to
getConnection(long, TimeUnit) , causing it to throw an
InterruptedException .
|
||||||||||
|
Obtains a connection within a given time.
|
Aborts the call to getConnection(long, TimeUnit)
, causing it to throw an InterruptedException
.
Obtains a connection within a given time. This method will block until a connection becomes available, the timeout expires, or the connection manager is shut down
. Timeouts are handled with millisecond precision. If abortRequest()
is called while this is blocking or before this began, an InterruptedException
will be 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 | in case of a timeout |
---|---|
InterruptedException | if the calling thread is interrupted while waiting |