Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 1.34 KB

README.md

File metadata and controls

18 lines (14 loc) · 1.34 KB

feign-java9

Build Status Coverage Status Maven Central Issues Forks Stars

This module directs Feign's http requests to Java9 New HTTP/2 Client that implements HTTP/2.

To use New HTTP/2 Client with Feign, use Java SDK 9 and add feign.java9 module to your module-info.java. Then, configure Feign to use the Java9HttpClient:

GitHub github = Feign.builder()
                     .client(new Java9HttpClient())
                     .target(GitHub.class, "https://api.github.com");