diff --git a/java11/src/main/java/feign/http2client/Http2Client.java b/java11/src/main/java/feign/http2client/Http2Client.java index 66fbdce0..cdf2d865 100644 --- a/java11/src/main/java/feign/http2client/Http2Client.java +++ b/java11/src/main/java/feign/http2client/Http2Client.java @@ -52,10 +52,21 @@ public class Http2Client implements Client, AsyncClient { private final HttpClient client; + /** + * Creates the new Http2Client using following defaults: + * + * + * @see Request.Options#Options() + */ public Http2Client() { this(HttpClient.newBuilder() .followRedirects(Redirect.ALWAYS) .version(Version.HTTP_2) + .connectTimeout(Duration.ofMillis(10000)) .build()); }