"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "httpclient/src/main/java/org/apache/http/conn/ConnectionRequest.java" between
httpcomponents-client-4.5.6-src.tar.gz and httpcomponents-client-4.5.7-src.tar.gz

About: HttpComponents is an Apache project responsible for creating and maintaining a toolset of low level Java components focused on HTTP and associated protocols. Java sources.

ConnectionRequest.java  (httpcomponents-client-4.5.6-src):ConnectionRequest.java  (httpcomponents-client-4.5.7-src)
skipping to change at line 55 skipping to change at line 55
* Obtains a connection within a given time. * Obtains a connection within a given time.
* This method will block until a connection becomes available, * This method will block until a connection becomes available,
* the timeout expires, or the connection manager is shut down. * the timeout expires, or the connection manager is shut down.
* Timeouts are handled with millisecond precision. * Timeouts are handled with millisecond precision.
* *
* If {@link #cancel()} is called while this is blocking or * If {@link #cancel()} is called while this is blocking or
* before this began, an {@link InterruptedException} will * before this began, an {@link InterruptedException} will
* be thrown. * be thrown.
* *
* @param timeout the timeout, 0 or negative for no timeout * @param timeout the timeout, 0 or negative for no timeout
* @param tunit the unit for the {@code timeout}, * @param timeUnit the unit for the {@code timeout},
* may be {@code null} only if there is no timeout * may be {@code null} only if there is no timeout
* *
* @return a connection that can be used to communicate * @return a connection that can be used to communicate
* along the given route * along the given route
* *
* @throws ConnectionPoolTimeoutException * @throws ConnectionPoolTimeoutException
* in case of a timeout * in case of a timeout
* @throws InterruptedException * @throws InterruptedException
* if the calling thread is interrupted while waiting * if the calling thread is interrupted while waiting
*/ */
HttpClientConnection get(long timeout, TimeUnit tunit) HttpClientConnection get(long timeout, TimeUnit timeUnit)
throws InterruptedException, ExecutionException, ConnectionPoolTimeoutEx ception; throws InterruptedException, ExecutionException, ConnectionPoolTimeoutEx ception;
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)