@ThreadSafe class MinimalHttpClient extends CloseableHttpClient
| Constructor and Description |
|---|
MinimalHttpClient(HttpClientConnectionManager connManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected CloseableHttpResponse |
doExecute(HttpHost target,
HttpRequest request,
HttpContext context) |
ClientConnectionManager |
getConnectionManager()
Obtains the connection manager used by this client.
|
HttpParams |
getParams()
Obtains the parameters for this client.
|
public MinimalHttpClient(HttpClientConnectionManager connManager)
protected CloseableHttpResponse doExecute(HttpHost target, HttpRequest request, HttpContext context) throws java.io.IOException, ClientProtocolException
doExecute in class CloseableHttpClientjava.io.IOExceptionClientProtocolExceptionpublic HttpParams getParams()
HttpClientpublic void close()
public ClientConnectionManager getConnectionManager()
HttpClient