"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "httpclient/src/main/java/org/apache/http/conn/ClientConnectionRequest.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.

ClientConnectionRequest.java  (httpcomponents-client-4.5.6-src):ClientConnectionRequest.java  (httpcomponents-client-4.5.7-src)
skipping to change at line 54 skipping to change at line 54
* 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 * the timeout expires, or the connection manager is
* {@link ClientConnectionManager#shutdown() shut down}. * {@link ClientConnectionManager#shutdown() shut down}.
* Timeouts are handled with millisecond precision. * Timeouts are handled with millisecond precision.
* *
* If {@link #abortRequest()} is called while this is blocking or * If {@link #abortRequest()} 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
*/ */
ManagedClientConnection getConnection(long timeout, TimeUnit tunit) ManagedClientConnection getConnection(long timeout, TimeUnit timeUnit)
throws InterruptedException, ConnectionPoolTimeoutException; throws InterruptedException, ConnectionPoolTimeoutException;
/** /**
* Aborts the call to {@link #getConnection(long, TimeUnit)}, * Aborts the call to {@link #getConnection(long, TimeUnit)},
* causing it to throw an {@link InterruptedException}. * causing it to throw an {@link InterruptedException}.
*/ */
void abortRequest(); void abortRequest();
} }
 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)