CloseableHttpClient.
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 Lookup | |
| private final ConcurrentLinkedQueue | |
| private final HttpClientConnectionManager | |
| private final Lookup | |
| private final CookieStore | |
| private final CredentialsProvider | |
| private final RequestConfig | |
| private final ExecChainElement | |
| private static final Logger | |
| private final HttpRequestExecutor | |
| private final HttpRoutePlanner |
| Access | Constructor and Description |
|---|---|
| public | InternalHttpClient(final HttpClientConnectionManager connManager, final HttpRequestExecutor requestExecutor, final ExecChainElement execChain, final HttpRoutePlanner routePlanner, final Lookup<CookieSpecFactory> cookieSpecRegistry, final Lookup<AuthSchemeFactory> authSchemeRegistry, final CookieStore cookieStore, final CredentialsProvider credentialsProvider, final RequestConfig defaultConfig, final List<Closeable> closeables)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. |
| public void | close(final CloseMode
How to close the receiver. closeMode)Implements org. |
| private HttpRoute | |
| protected CloseableHttpResponse | doExecute(final HttpHost target, final ClassicHttpRequest request, final HttpContext context)
Implements abstract org. |
| public RequestConfig | getConfig()
Implements org. |
| private void |
| authSchemeRegistry | back to summary |
|---|---|
| private final Lookup<AuthSchemeFactory> authSchemeRegistry | |
| closeables | back to summary |
|---|---|
| private final ConcurrentLinkedQueue<Closeable> closeables | |
| connManager | back to summary |
|---|---|
| private final HttpClientConnectionManager connManager | |
| cookieSpecRegistry | back to summary |
|---|---|
| private final Lookup<CookieSpecFactory> cookieSpecRegistry | |
| cookieStore | back to summary |
|---|---|
| private final CookieStore cookieStore | |
| credentialsProvider | back to summary |
|---|---|
| private final CredentialsProvider credentialsProvider | |
| defaultConfig | back to summary |
|---|---|
| private final RequestConfig defaultConfig | |
| execChain | back to summary |
|---|---|
| private final ExecChainElement execChain | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG Hides org. | |
| requestExecutor | back to summary |
|---|---|
| private final HttpRequestExecutor requestExecutor | |
| routePlanner | back to summary |
|---|---|
| private final HttpRoutePlanner routePlanner | |
| InternalHttpClient | back to summary |
|---|---|
| public InternalHttpClient(final HttpClientConnectionManager connManager, final HttpRequestExecutor requestExecutor, final ExecChainElement execChain, final HttpRoutePlanner routePlanner, final Lookup<CookieSpecFactory> cookieSpecRegistry, final Lookup<AuthSchemeFactory> authSchemeRegistry, final CookieStore cookieStore, final CredentialsProvider credentialsProvider, final RequestConfig defaultConfig, final List<Closeable> closeables) | |
| close | back to summary |
|---|---|
| public void close() 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. | |
| determineRoute | back to summary |
|---|---|
| private HttpRoute determineRoute(final HttpHost target, final HttpContext context) throws HttpException | |
| doExecute | back to summary |
|---|---|
| protected CloseableHttpResponse doExecute(final HttpHost target, final ClassicHttpRequest request, final HttpContext context) throws IOException Implements abstract org.
| |
| getConfig | back to summary |
|---|---|
| public RequestConfig getConfig() Implements org. Doc from org. Returns actual request configuration.
| |
| setupContext | back to summary |
|---|---|
| private void setupContext(final HttpClientContext context) | |