@Contract(threading=SAFE_CONDITIONAL) class MinimalHttpClient extends CloseableHttpClient
Modifier and Type | Field and Description |
---|---|
private HttpClientConnectionManager |
connManager |
private HttpParams |
params |
private MinimalClientExec |
requestExecutor |
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.
|
private final HttpClientConnectionManager connManager
private final MinimalClientExec requestExecutor
private final HttpParams params
public MinimalHttpClient(HttpClientConnectionManager connManager)
protected CloseableHttpResponse doExecute(HttpHost target, HttpRequest request, HttpContext context) throws IOException, ClientProtocolException
doExecute
in class CloseableHttpClient
IOException
ClientProtocolException
public HttpParams getParams()
HttpClient
public void close()
public ClientConnectionManager getConnectionManager()
HttpClient
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses