Skip to content

Commit f599f76

Browse files
committed
Revert formatting changes
1 parent 2ec71c7 commit f599f76

2 files changed

Lines changed: 12 additions & 7 deletions

File tree

httpclient5/src/main/java/org/apache/hc/client5/http/config/ConnectionConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ public Builder setSocketTimeout(final int soTimeout, final TimeUnit timeUnit) {
163163
* timeout for the duration of the request. If no response timeout is set, the
164164
* current socket timeout of the reused connection remains in effect.
165165
* </p>
166+
* Default: {@code null} (undefined)
166167
*
167168
* @return this instance.
168169
*/

httpclient5/src/main/java/org/apache/hc/client5/http/config/RequestConfig.java

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -533,17 +533,20 @@ public Builder setConnectTimeout(final long connectTimeout, final TimeUnit timeU
533533
}
534534

535535
/**
536-
* Determines the timeout until arrival of a response from the opposite endpoint.
536+
* Determines the timeout until arrival of a response from the opposite
537+
* endpoint.
538+
* <p>
537539
* A timeout value of zero is interpreted as an infinite timeout.
540+
* </p>
538541
* <p>
539-
* Please note that response timeout may be unsupported by HTTP transports with
540-
* message multiplexing.
542+
* Please note that response timeout may be unsupported by
543+
* HTTP transports with message multiplexing.
541544
* </p>
542545
* <p>
543-
* Please note that response timeout is not a deadline. Its absolute value can
544-
* be exceeded, for example, in case of automatic request re-execution. Please
545-
* make sure the automatic request re-execution policy has been configured
546-
* appropriately.
546+
* Please note that response timeout is not a deadline. Its absolute value
547+
* can be exceeded, for example, in case of automatic request re-execution.
548+
* Please make sure the automatic request re-execution policy has been
549+
* configured appropriately.
547550
* </p>
548551
* <p>
549552
* In classic (blocking) I/O execution, if this value is set, it will be applied
@@ -553,6 +556,7 @@ public Builder setConnectTimeout(final long connectTimeout, final TimeUnit timeU
553556
* If unset ({@code null}), the existing socket timeout of the reused connection
554557
* remains in effect.
555558
* </p>
559+
* Default: {@code null}
556560
*
557561
* @return this instance.
558562
* @since 5.0

0 commit comments

Comments
 (0)