Package | Description |
---|---|
org.apache.hc.client5.http.async.methods |
Common HTTP methods and message handlers for the asynchronous I/O model.
|
org.apache.hc.client5.http.classic.methods |
Common HTTP methods and message handlers for the classic I/O model.
|
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.classic |
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
|
org.apache.hc.client5.http.protocol |
HTTP protocol interceptors that enable advanced functionality
such as HTTP state management and authentication state caching.
|
Modifier and Type | Method and Description |
---|---|
RequestConfig |
ConfigurableHttpRequest.getConfig() |
RequestConfig |
SimpleRequestBuilder.getRequestConfig() |
Modifier and Type | Method and Description |
---|---|
void |
ConfigurableHttpRequest.setConfig(RequestConfig requestConfig)
Sets the request configuration.
|
SimpleRequestBuilder |
SimpleRequestBuilder.setRequestConfig(RequestConfig requestConfig) |
Modifier and Type | Method and Description |
---|---|
RequestConfig |
HttpUriRequestBase.getConfig() |
Modifier and Type | Method and Description |
---|---|
void |
HttpUriRequestBase.setConfig(RequestConfig requestConfig)
Sets the request configuration.
|
Modifier and Type | Field and Description |
---|---|
static RequestConfig |
RequestConfig.DEFAULT |
Modifier and Type | Method and Description |
---|---|
RequestConfig |
RequestConfig.Builder.build() |
protected RequestConfig |
RequestConfig.clone() |
RequestConfig |
Configurable.getConfig()
Gets the actual request configuration.
|
Modifier and Type | Method and Description |
---|---|
static RequestConfig.Builder |
RequestConfig.copy(RequestConfig config) |
Modifier and Type | Method and Description |
---|---|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setDefaultRequestConfig(RequestConfig config)
Sets default
RequestConfig instance which will be used
for request execution if not explicitly set in the client execution
context. |
H2AsyncClientBuilder |
H2AsyncClientBuilder.setDefaultRequestConfig(RequestConfig config)
Sets default
RequestConfig instance which will be used
for request execution if not explicitly set in the client execution
context. |
Modifier and Type | Method and Description |
---|---|
HttpClientBuilder |
HttpClientBuilder.setDefaultRequestConfig(RequestConfig config)
Sets default
RequestConfig instance which will be used
for request execution if not explicitly set in the client execution
context. |
Constructor and Description |
---|
ProxyClient(org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection> connFactory,
org.apache.hc.core5.http.config.Http1Config h1Config,
org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig,
RequestConfig requestConfig) |
ProxyClient(RequestConfig requestConfig) |
Modifier and Type | Method and Description |
---|---|
RequestConfig |
HttpClientContext.getRequestConfig()
Represents an
used in the context of the request execution. |
RequestConfig |
HttpClientContext.getRequestConfigOrDefault()
Returns
RequestConfig set in the context or DEFAULT
if not explicitly set in the context. |
Modifier and Type | Method and Description |
---|---|
void |
HttpClientContext.setRequestConfig(RequestConfig requestConfig) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.