This module directs Feign's http requests to Apache's HttpClient 5.
To use HttpClient with Feign, add the feign-hc5
module to your classpath. Then, configure Feign to use the ApacheHttp5Client
:
GitHub github = Feign.builder()
.client(new ApacheHttp5Client())
.target(GitHub.class, "https://api.github.com");