public class HttpClient3 extends Object implements net.oauth.http.HttpClient
| Modifier and Type | Class and Description |
|---|---|
private static class |
HttpClient3.SingleClient
A pool that simply shares a single HttpClient, as recommended here.
|
| Modifier and Type | Field and Description |
|---|---|
private HttpClientPool |
clientPool |
private static HttpClientPool |
SHARED_CLIENT |
| Constructor and Description |
|---|
HttpClient3() |
HttpClient3(HttpClientPool clientPool) |
private final HttpClientPool clientPool
private static final HttpClientPool SHARED_CLIENT
public HttpClient3()
public HttpClient3(HttpClientPool clientPool)
public net.oauth.http.HttpResponseMessage execute(net.oauth.http.HttpMessage request,
Map<String,Object> parameters)
throws IOException
execute in interface net.oauth.http.HttpClientIOExceptionCopyright © 2016. All rights reserved.