Package | Description |
---|---|
org.apache.hc.client5.http.impl.nio |
Client connection management functions based the asynchronous
connection management APIs.
|
Modifier and Type | Method and Description |
---|---|
static PoolingAsyncClientConnectionManagerBuilder |
PoolingAsyncClientConnectionManagerBuilder.create() |
PoolingAsyncClientConnectionManagerBuilder |
PoolingAsyncClientConnectionManagerBuilder.setConnectionConfigResolver(org.apache.hc.core5.function.Resolver<HttpRoute,ConnectionConfig> connectionConfigResolver)
Sets
Resolver of ConnectionConfig on a per route basis. |
PoolingAsyncClientConnectionManagerBuilder |
PoolingAsyncClientConnectionManagerBuilder.setConnectionTimeToLive(org.apache.hc.core5.util.TimeValue timeToLive)
Deprecated.
|
PoolingAsyncClientConnectionManagerBuilder |
PoolingAsyncClientConnectionManagerBuilder.setConnPoolPolicy(org.apache.hc.core5.pool.PoolReusePolicy poolReusePolicy)
Sets
PoolReusePolicy value. |
PoolingAsyncClientConnectionManagerBuilder |
PoolingAsyncClientConnectionManagerBuilder.setDefaultConnectionConfig(ConnectionConfig config)
Sets the same
ConnectionConfig for all routes. |
PoolingAsyncClientConnectionManagerBuilder |
PoolingAsyncClientConnectionManagerBuilder.setDefaultTlsConfig(TlsConfig config)
Sets the same
TlsConfig for all hosts. |
PoolingAsyncClientConnectionManagerBuilder |
PoolingAsyncClientConnectionManagerBuilder.setDnsResolver(DnsResolver dnsResolver)
Sets
DnsResolver instance. |
PoolingAsyncClientConnectionManagerBuilder |
PoolingAsyncClientConnectionManagerBuilder.setMaxConnPerRoute(int maxConnPerRoute)
Sets maximum connection per route value.
|
PoolingAsyncClientConnectionManagerBuilder |
PoolingAsyncClientConnectionManagerBuilder.setMaxConnTotal(int maxConnTotal)
Sets maximum total connection value.
|
PoolingAsyncClientConnectionManagerBuilder |
PoolingAsyncClientConnectionManagerBuilder.setPoolConcurrencyPolicy(org.apache.hc.core5.pool.PoolConcurrencyPolicy poolConcurrencyPolicy)
Sets
PoolConcurrencyPolicy value. |
PoolingAsyncClientConnectionManagerBuilder |
PoolingAsyncClientConnectionManagerBuilder.setSchemePortResolver(SchemePortResolver schemePortResolver)
Sets
SchemePortResolver instance. |
PoolingAsyncClientConnectionManagerBuilder |
PoolingAsyncClientConnectionManagerBuilder.setTlsConfigResolver(org.apache.hc.core5.function.Resolver<org.apache.hc.core5.http.HttpHost,TlsConfig> tlsConfigResolver)
Sets
Resolver of TlsConfig on a per host basis. |
PoolingAsyncClientConnectionManagerBuilder |
PoolingAsyncClientConnectionManagerBuilder.setTlsStrategy(org.apache.hc.core5.http.nio.ssl.TlsStrategy tlsStrategy)
Sets
TlsStrategy instance for TLS connections. |
PoolingAsyncClientConnectionManagerBuilder |
PoolingAsyncClientConnectionManagerBuilder.setValidateAfterInactivity(org.apache.hc.core5.util.TimeValue validateAfterInactivity)
Deprecated.
|
PoolingAsyncClientConnectionManagerBuilder |
PoolingAsyncClientConnectionManagerBuilder.useSystemProperties()
Use system properties when creating and configuring default
implementations.
|
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.