Skip to content

Commit e60cd2c

Browse files
author
Stephane Landelle
committed
Adjust javadoc for requestTimeout to clarify its meaning, backport AsyncHttpClient#756
1 parent 279d3b9 commit e60cd2c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/com/ning/http/client/AsyncHttpClientConfig.java

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

213213
/**
214-
* Return the maximum time in millisecond an {@link com.ning.http.client.AsyncHttpClient} wait for a response
214+
* Return the maximum time in millisecond an {@link com.ning.http.client.AsyncHttpClient} waits until the response is completed.
215215
*
216-
* @return the maximum time in millisecond an {@link com.ning.http.client.AsyncHttpClient} wait for a response
216+
* @return the maximum time in millisecond an {@link com.ning.http.client.AsyncHttpClient} waits until the response is completed.
217217
*/
218218
public int getRequestTimeout() {
219219
return requestTimeout;
@@ -584,9 +584,9 @@ public Builder setPooledConnectionIdleTimeout(int pooledConnectionIdleTimeout) {
584584
}
585585

586586
/**
587-
* Set the maximum time in millisecond an {@link com.ning.http.client.AsyncHttpClient} wait for a response
587+
* Set the maximum time in millisecond an {@link com.ning.http.client.AsyncHttpClient} waits until the response is completed.
588588
*
589-
* @param requestTimeout the maximum time in millisecond an {@link com.ning.http.client.AsyncHttpClient} wait for a response
589+
* @param requestTimeout the maximum time in millisecond an {@link com.ning.http.client.AsyncHttpClient} waits until the response is completed.
590590
* @return a {@link Builder}
591591
*/
592592
public Builder setRequestTimeout(int requestTimeout) {

0 commit comments

Comments
 (0)