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
527 B
12 lines
527 B
5 years ago
|
# Google Http Client - Feign Client
|
||
|
|
||
|
This module is a feign [Client](https://github.com/OpenFeign/feign/blob/master/core/src/main/java/feign/Client.java) to use the java [Google Http Client](https://github.com/googleapis/google-http-java-client).
|
||
|
|
||
|
To use this, add to your classpath (via maven, or otherwise). Then cofigure Feign to use the GoogleHttpClient:
|
||
|
|
||
|
```java
|
||
|
GitHub github = Feign.builder()
|
||
|
.client(new GoogleHttpClient())
|
||
|
.target(GitHub.class, "https://api.github.com");
|
||
|
```
|