Package | Description |
---|---|
org.apache.hc.client5.http.config |
HTTP client configuration APIs.
|
org.apache.hc.client5.http.impl.async |
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
|
org.apache.hc.client5.http.impl.io |
Client connection management functions based the classic
connection management APIs.
|
org.apache.hc.client5.http.impl.nio |
Client connection management functions based the asynchronous
connection management APIs.
|
Modifier and Type | Field and Description |
---|---|
static ConnectionConfig |
ConnectionConfig.DEFAULT |
Modifier and Type | Method and Description |
---|---|
ConnectionConfig |
ConnectionConfig.Builder.build() |
protected ConnectionConfig |
ConnectionConfig.clone() |
Modifier and Type | Method and Description |
---|---|
static ConnectionConfig.Builder |
ConnectionConfig.copy(ConnectionConfig config) |
Modifier and Type | Method and Description |
---|---|
H2AsyncClientBuilder |
H2AsyncClientBuilder.setDefaultConnectionConfig(ConnectionConfig connectionConfig)
Sets the same
ConnectionConfig for all hosts. |
Modifier and Type | Method and Description |
---|---|
void |
MinimalH2AsyncClient.setConnectionConfigResolver(org.apache.hc.core5.function.Resolver<org.apache.hc.core5.http.HttpHost,ConnectionConfig> connectionConfigResolver)
Sets
Resolver for ConnectionConfig on a per host basis. |
H2AsyncClientBuilder |
H2AsyncClientBuilder.setConnectionConfigResolver(org.apache.hc.core5.function.Resolver<org.apache.hc.core5.http.HttpHost,ConnectionConfig> connectionConfigResolver)
Sets
Resolver for ConnectionConfig on a per host basis. |
Modifier and Type | Method and Description |
---|---|
ConnectionConfig |
BasicHttpClientConnectionManager.getConnectionConfig() |
Modifier and Type | Method and Description |
---|---|
void |
BasicHttpClientConnectionManager.setConnectionConfig(ConnectionConfig connectionConfig) |
void |
PoolingHttpClientConnectionManager.setDefaultConnectionConfig(ConnectionConfig config)
Sets the same
ConnectionConfig for all routes |
PoolingHttpClientConnectionManagerBuilder |
PoolingHttpClientConnectionManagerBuilder.setDefaultConnectionConfig(ConnectionConfig config)
Sets the same
ConnectionConfig for all routes. |
Modifier and Type | Method and Description |
---|---|
void |
PoolingHttpClientConnectionManager.setConnectionConfigResolver(org.apache.hc.core5.function.Resolver<HttpRoute,ConnectionConfig> connectionConfigResolver)
Sets
Resolver of ConnectionConfig on a per route basis. |
PoolingHttpClientConnectionManagerBuilder |
PoolingHttpClientConnectionManagerBuilder.setConnectionConfigResolver(org.apache.hc.core5.function.Resolver<HttpRoute,ConnectionConfig> connectionConfigResolver)
Sets
Resolver of ConnectionConfig on a per route basis. |
Modifier and Type | Method and Description |
---|---|
void |
PoolingAsyncClientConnectionManager.setDefaultConnectionConfig(ConnectionConfig config)
Sets the same
ConnectionConfig for all routes |
PoolingAsyncClientConnectionManagerBuilder |
PoolingAsyncClientConnectionManagerBuilder.setDefaultConnectionConfig(ConnectionConfig config)
Sets the same
ConnectionConfig for all routes. |
Modifier and Type | Method and Description |
---|---|
void |
PoolingAsyncClientConnectionManager.setConnectionConfigResolver(org.apache.hc.core5.function.Resolver<HttpRoute,ConnectionConfig> connectionConfigResolver)
Sets
Resolver of ConnectionConfig on a per route basis. |
PoolingAsyncClientConnectionManagerBuilder |
PoolingAsyncClientConnectionManagerBuilder.setConnectionConfigResolver(org.apache.hc.core5.function.Resolver<HttpRoute,ConnectionConfig> connectionConfigResolver)
Sets
Resolver of ConnectionConfig on a per route basis. |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.