Package | Description |
---|---|
org.apache.hc.client5.http.impl.cache |
Caching API implementation for both the classic and
the asynchronous HTTP transports.
|
org.apache.hc.client5.http.impl.classic |
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CachingHttpClientBuilder.customizeExecChain(org.apache.hc.core5.http.config.NamedElementChain<ExecChainHandler> execChainDefinition) |
Modifier and Type | Class and Description |
---|---|
class |
BackoffStrategyExec
Request execution handler in the classic request execution chain
that is responsible for execution of an
ConnectionBackoffStrategy . |
class |
ConnectExec
Request execution handler in the classic request execution chain
that is responsible for establishing connection to the target
origin server as specified by the current connection route.
|
class |
ContentCompressionExec
Request execution handler in the classic request execution chain
that is responsible for automatic response content decompression.
|
class |
HttpRequestRetryExec
Request executor in the request execution chain that is responsible for
making a decision whether a request that failed due to an I/O exception
or received a specific response from the target server should
be re-executed.
|
class |
MainClientExec
Usually the last request execution handler in the classic request execution
chain that is responsible for execution of request / response exchanges with
the opposite endpoint.
|
class |
ProtocolExec
Request execution handler in the classic request execution chain
that is responsible for implementation of HTTP specification requirements.
|
class |
RedirectExec
Request execution handler in the classic request execution chain
responsible for handling of request redirects.
|
Modifier and Type | Method and Description |
---|---|
HttpClientBuilder |
HttpClientBuilder.addExecInterceptorAfter(String existing,
String name,
ExecChainHandler interceptor)
Adds this execution interceptor after interceptor with the given name.
|
HttpClientBuilder |
HttpClientBuilder.addExecInterceptorBefore(String existing,
String name,
ExecChainHandler interceptor)
Adds this execution interceptor before an existing interceptor.
|
HttpClientBuilder |
HttpClientBuilder.addExecInterceptorFirst(String name,
ExecChainHandler interceptor)
Add an interceptor to the head of the processing list.
|
HttpClientBuilder |
HttpClientBuilder.addExecInterceptorLast(String name,
ExecChainHandler interceptor)
Add an interceptor to the tail of the processing list.
|
HttpClientBuilder |
HttpClientBuilder.replaceExecInterceptor(String existing,
ExecChainHandler interceptor)
Replace an existing interceptor with the given name with new interceptor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
HttpClientBuilder.customizeExecChain(org.apache.hc.core5.http.config.NamedElementChain<ExecChainHandler> execChainDefinition)
Request exec chain customization and extension.
|
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.