HttpClientConnection get(long timeout, TimeUnit tunit) throws InterruptedException, ExecutionException, ConnectionPoolTimeoutException
Cancellable.cancel()is called while this is blocking or before this began, an
InterruptedExceptionwill be thrown.
timeout- the timeout, 0 or negative for no timeout
tunit- the unit for the
timeout, may be
nullonly if there is no timeout
ConnectionPoolTimeoutException- in case of a timeout
InterruptedException- if the calling thread is interrupted while waiting
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.