You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
449 B
12 lines
449 B
6 years ago
|
# feign-java11
|
||
|
|
||
|
This module directs Feign's http requests to Java11 [New HTTP/2 Client](http://www.javamagazine.mozaicreader.com/JulyAug2017#&pageSet=39&page=0) that implements HTTP/2.
|
||
|
|
||
|
To use New HTTP/2 Client with Feign, use Java SDK 11. Then, configure Feign to use the Http2Client:
|
||
|
|
||
|
```java
|
||
|
GitHub github = Feign.builder()
|
||
|
.client(new Http2Client())
|
||
|
.target(GitHub.class, "https://api.github.com");
|
||
|
```
|