Feign makes writing java http clients easier
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.
 
 
Adrian Cole 600736db3c Documents intent of client tests 9 years ago
..
src Documents intent of client tests 9 years ago
README.md Adds OkHttp integration 10 years ago
build.gradle Bumps dependency versions, most notably Gson 2.5 and OkHttp 2.7 9 years ago

README.md

OkHttp

This module directs Feign's http requests to OkHttp, which enables SPDY and better network control.

To use OkHttp with Feign, add the OkHttp module to your classpath. Then, configure Feign to use the OkHttpClient:

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