CloseableHttpClient. This client is
optimized for HTTP/1.1 message transport and does not support advanced
HTTP protocol functionality such as request execution via a proxy, state
management, authentication and request redirects.
Concurrent message exchanges executed by this client will get assigned to separate connections leased from the connection pool.
| Modifier and Type | Field and Description |
|---|---|
| private final HttpClientConnectionManager | |
| private final HttpProcessor | |
| private static final Logger | |
| private final HttpRequestExecutor | |
| private final ConnectionReuseStrategy | |
| private final SchemePortResolver |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. |
| public void | close(final CloseMode
How to close the receiver. closeMode)Implements org. |
| protected CloseableHttpResponse | doExecute(final HttpHost target, final ClassicHttpRequest request, final HttpContext context)
Implements abstract org. |
| connManager | back to summary |
|---|---|
| private final HttpClientConnectionManager connManager | |
| httpProcessor | back to summary |
|---|---|
| private final HttpProcessor httpProcessor | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG Hides org. | |
| requestExecutor | back to summary |
|---|---|
| private final HttpRequestExecutor requestExecutor | |
| reuseStrategy | back to summary |
|---|---|
| private final ConnectionReuseStrategy reuseStrategy | |
| schemePortResolver | back to summary |
|---|---|
| private final SchemePortResolver schemePortResolver | |
| MinimalHttpClient | back to summary |
|---|---|
| pack-priv MinimalHttpClient(final HttpClientConnectionManager connManager) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| close | back to summary |
|---|---|
| public void close(final CloseMode closeMode) Implements org. Doc from org. Closes this process or endpoint and releases any system resources associated with it. If the endpoint or the process is already closed then invoking this method has no effect. | |
| doExecute | back to summary |
|---|---|
| protected CloseableHttpResponse doExecute(final HttpHost target, final ClassicHttpRequest request, final HttpContext context) throws IOException Implements abstract org.
| |