CloseableHttpAsyncClient that can negotiate
the most optimal HTTP protocol version during during the TLS handshake
with ALPN extension if supported by the Java runtime.
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 static final Logger | |
| private final AsyncClientConnectionManager | |
| private final HttpRoutePlanner | |
| private final TlsConfig |
| Access | Constructor and Description |
|---|---|
| pack-priv | InternalHttpAsyncClient(final DefaultConnectingIOReactor ioReactor, final AsyncExecChainElement execChain, final AsyncPushConsumerRegistry pushConsumerRegistry, final ThreadFactory threadFactory, final AsyncClientConnectionManager manager, final HttpRoutePlanner routePlanner, final TlsConfig tlsConfig, 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 |
|---|---|
| pack-priv AsyncExecRuntime | createAsyncExecRuntime(final HandlerFactory<AsyncPushConsumer> pushHandlerFactory)
Implements abstract org. |
| pack-priv HttpRoute | determineRoute(final HttpHost httpHost, final HttpClientContext clientContext)
Implements abstract org. |
| LOG | back to summary |
|---|---|
| private static final Logger LOG Hides org. | |
| manager | back to summary |
|---|---|
| private final AsyncClientConnectionManager manager | |
| routePlanner | back to summary |
|---|---|
| private final HttpRoutePlanner routePlanner | |
| tlsConfig | back to summary |
|---|---|
| private final TlsConfig tlsConfig | |
| InternalHttpAsyncClient | back to summary |
|---|---|
| pack-priv InternalHttpAsyncClient(final DefaultConnectingIOReactor ioReactor, final AsyncExecChainElement execChain, final AsyncPushConsumerRegistry pushConsumerRegistry, final ThreadFactory threadFactory, final AsyncClientConnectionManager manager, final HttpRoutePlanner routePlanner, final TlsConfig tlsConfig, final Lookup<CookieSpecFactory> cookieSpecRegistry, final Lookup<AuthSchemeFactory> authSchemeRegistry, final CookieStore cookieStore, final CredentialsProvider credentialsProvider, final RequestConfig defaultConfig, final List<Closeable> closeables) | |
| createAsyncExecRuntime | back to summary |
|---|---|
| pack-priv AsyncExecRuntime createAsyncExecRuntime(final HandlerFactory<AsyncPushConsumer> pushHandlerFactory) Implements abstract org.
| |
| determineRoute | back to summary |
|---|---|
| pack-priv HttpRoute determineRoute(final HttpHost httpHost, final HttpClientContext clientContext) throws HttpException Implements abstract org.
| |