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.
 
 
Witalij Berdinskich f07c484b7a
Proof that clients support gzip and deflate compression (#1713)
2 years ago
..
src Proof that clients support gzip and deflate compression (#1713) 2 years ago
README.md
pom.xml Preparing for next development version 2 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");