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