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