private final Response convertResponse(
      final Request inputRequest, final HttpResponse inputResponse) throws IOException {
    final HttpHeaders headers = inputResponse.getHeaders();
    Integer contentLength = null;
    if (headers.getContentLength() != null && headers.getContentLength() <= Integer.MAX_VALUE) {
      contentLength = inputResponse.getHeaders().getContentLength().intValue();
    }
    return Response.builder()
        .body(inputResponse.getContent(), contentLength)
        .status(inputResponse.getStatusCode())
        .reason(inputResponse.getStatusMessage())
        .headers(toMap(inputResponse.getHeaders()))
        .request(inputRequest)
        .build();
  }
This module directs Feign's http requests to
<a href="https://developers.google.com/api-client-library/java/google-http-java-client/">Google
HTTP Client</a>.

<pre>
GitHub github = Feign.builder().client(new GoogleHttpCliest()).target(GitHub.class,
"https://api.github.com");
googlehttpclient/src/main/java/feign/googlehttpclient/GoogleHttpClient.java