Skip to content

Commit 329b533

Browse files
committed
Polish contribution
See gh-32941
1 parent 916ed5c commit 329b533

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

spring-web/src/main/java/org/springframework/http/client/reactive/JdkClientHttpConnector.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,10 @@ public void setBufferFactory(DataBufferFactory bufferFactory) {
9696
}
9797

9898
/**
99-
* Set the default read timeout to use.
100-
* <p>By default, this is null, so no read timeout will be set.</p>
99+
* Set the underlying {@code HttpClient}'s read timeout as a {@code Duration}.
100+
* <p>Default is the system's default timeout.
101+
* @since 6.2
102+
* @see java.net.http.HttpRequest.Builder#timeout
101103
*/
102104
public void setReadTimeout(Duration readTimeout) {
103105
Assert.notNull(readTimeout, "readTimeout is required");

0 commit comments

Comments
 (0)