@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 CloseableHttpClient
java.io.IOException
ClientProtocolException
public HttpParams getParams()
HttpClient
public void close()
public ClientConnectionManager getConnectionManager()
HttpClient