Skip to content

Commit cdf70a5

Browse files
author
Stephane Landelle
committed
Merge pull request AsyncHttpClient#756 from magro/master
Adjust javadoc for requestTimeout to clarify its meaning.
2 parents 7e0d370 + baa5788 commit cdf70a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

api/src/main/java/org/asynchttpclient/AsyncHttpClientConfig.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,9 @@ public int getPooledConnectionIdleTimeout() {
248248
}
249249

250250
/**
251-
* Return the maximum time in millisecond an {@link AsyncHttpClient} wait for a response
251+
* Return the maximum time in millisecond an {@link AsyncHttpClient} waits until the response is completed.
252252
*
253-
* @return the maximum time in millisecond an {@link AsyncHttpClient} wait for a response
253+
* @return the maximum time in millisecond an {@link AsyncHttpClient} waits until the response is completed.
254254
*/
255255
public int getRequestTimeout() {
256256
return requestTimeout;
@@ -664,9 +664,9 @@ public Builder setPooledConnectionIdleTimeout(int pooledConnectionIdleTimeout) {
664664
}
665665

666666
/**
667-
* Set the maximum time in millisecond an {@link AsyncHttpClient} wait for a response
667+
* Set the maximum time in millisecond an {@link AsyncHttpClient} waits until the response is completed.
668668
*
669-
* @param requestTimeout the maximum time in millisecond an {@link AsyncHttpClient} wait for a response
669+
* @param requestTimeout the maximum time in millisecond an {@link AsyncHttpClient} waits until the response is completed.
670670
* @return a {@link Builder}
671671
*/
672672
public Builder setRequestTimeout(int requestTimeout) {

0 commit comments

Comments
 (0)