- timeout
- the timeout, 0 or negative for no timeout
- tunit
- the unit for the timeout, may be null only if there is no timeout
Documentation for this section has not yet been entered.
Type Reason Org.Apache.Http.Conn.ConnectionPoolTimeoutException in case of a timeout Java.Lang.InterruptedException if the calling thread is interrupted while waiting
Obtains a connection within a given time. This method will block until a connection becomes available, the timeout expires, or the connection manager is IClientConnectionManager.Shutdown. Timeouts are handled with millisecond precision. If IClientConnectionRequest.AbortRequest is called while this is blocking or before this began, an Java.Lang.InterruptedException will be thrown.