public final class ApacheHttpClient extends Object implements feign.Client
GitHub github = Feign.builder().client(new ApacheHttpClient()).target(GitHub.class, "https://api.github.com"); Based on Square, Inc's Retrofit ApacheClient implementation
| Constructor and Description |
|---|
ApacheHttpClient() |
ApacheHttpClient(org.apache.http.client.HttpClient client) |
| Modifier and Type | Method and Description |
|---|---|
feign.Response |
execute(feign.Request request,
feign.Request.Options options) |
public ApacheHttpClient()
public ApacheHttpClient(org.apache.http.client.HttpClient client)
public feign.Response execute(feign.Request request,
feign.Request.Options options)
throws IOException
execute in interface feign.ClientIOExceptionCopyright © 2018 WSO2. All rights reserved.