Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 483 Bytes

File metadata and controls

12 lines (9 loc) · 483 Bytes

Apache Http Compoments 5

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");