@Override
  public Response execute(Request request, Options options) throws IOException {
    final HttpRequest httpRequest;
    try {
      httpRequest = newRequestBuilder(request, options).version(client.version()).build();
    } catch (URISyntaxException e) {
      throw new IOException("Invalid uri " + request.url(), e);
    }

    HttpClient clientForRequest = getOrCreateClient(options);
    HttpResponse<InputStream> httpResponse;
    try {
      httpResponse = clientForRequest.send(httpRequest, BodyHandlers.ofInputStream());
    } catch (final InterruptedException e) {
      Thread.currentThread().interrupt();
      throw new IOException(e);
    }

    return toFeignResponse(request, httpResponse);
  }
Creates the new Http2Client using following defaults:

<ul>
  <li>Connect Timeout: 10 seconds, as {@link Request.Options#Options()} uses
  <li>Follow all 3xx redirects
  <li>HTTP 2
</ul>

@see Request.Options#Options()
java11/src/main/java/feign/http2client/Http2Client.java