HttpAsyncClientBuilder |
HttpAsyncClientBuilder.addExecInterceptorAfter(java.lang.String existing,
java.lang.String name,
AsyncExecChainHandler interceptor) |
Adds this execution interceptor after interceptor with the given name.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.addExecInterceptorBefore(java.lang.String existing,
java.lang.String name,
AsyncExecChainHandler interceptor) |
Adds this execution interceptor before an existing interceptor.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.addExecInterceptorFirst(java.lang.String name,
AsyncExecChainHandler interceptor) |
Add an interceptor to the head of the processing list.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.addExecInterceptorLast(java.lang.String name,
AsyncExecChainHandler interceptor) |
Add an interceptor to the tail of the processing list.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.addRequestInterceptorFirst(org.apache.hc.core5.http.HttpRequestInterceptor interceptor) |
Adds this protocol interceptor to the head of the protocol processing list.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.addRequestInterceptorLast(org.apache.hc.core5.http.HttpRequestInterceptor interceptor) |
Adds this protocol interceptor to the tail of the protocol processing list.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.addResponseInterceptorFirst(org.apache.hc.core5.http.HttpResponseInterceptor interceptor) |
Adds this protocol interceptor to the head of the protocol processing list.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.addResponseInterceptorLast(org.apache.hc.core5.http.HttpResponseInterceptor interceptor) |
Adds this protocol interceptor to the tail of the protocol processing list.
|
static HttpAsyncClientBuilder |
HttpAsyncClientBuilder.create() |
|
static HttpAsyncClientBuilder |
HttpAsyncClients.custom() |
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.disableAuthCaching() |
Disables authentication scheme caching.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.disableAutomaticRetries() |
Disables automatic request recovery and re-execution.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.disableConnectionState() |
Disables connection state tracking.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.disableCookieManagement() |
Disables state (cookie) management.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.disableRedirectHandling() |
Disables automatic redirect handling.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.evictExpiredConnections() |
Makes this instance of HttpClient proactively evict expired connections from the
connection pool using a background thread.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.evictIdleConnections(org.apache.hc.core5.util.TimeValue maxIdleTime) |
Makes this instance of HttpClient proactively evict idle connections from the
connection pool using a background thread.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.replaceExecInterceptor(java.lang.String existing,
AsyncExecChainHandler interceptor) |
Replace an existing interceptor with the given name with new interceptor.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setCharCodingConfig(org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig) |
Sets CharCodingConfig configuration.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setConnectionManager(AsyncClientConnectionManager connManager) |
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setConnectionManagerShared(boolean shared) |
Defines the connection manager is to be shared by multiple
client instances.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setConnectionReuseStrategy(org.apache.hc.core5.http.ConnectionReuseStrategy reuseStrategy) |
Assigns ConnectionReuseStrategy instance.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setDefaultAuthSchemeRegistry(org.apache.hc.core5.http.config.Lookup<AuthSchemeFactory> authSchemeRegistry) |
Assigns default AuthScheme registry which will
be used for request execution if not explicitly set in the client execution
context.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setDefaultCookieSpecRegistry(org.apache.hc.core5.http.config.Lookup<CookieSpecFactory> cookieSpecRegistry) |
Assigns default CookieSpec registry
which will be used for request execution if not explicitly set in the client
execution context.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setDefaultCookieStore(CookieStore cookieStore) |
Assigns default CookieStore instance which will be used for
request execution if not explicitly set in the client execution context.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setDefaultCredentialsProvider(CredentialsProvider credentialsProvider) |
Assigns default CredentialsProvider instance which will be used
for request execution if not explicitly set in the client execution
context.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setDefaultHeaders(java.util.Collection<? extends org.apache.hc.core5.http.Header> defaultHeaders) |
Assigns default request header values.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setDefaultRequestConfig(RequestConfig config) |
Assigns default RequestConfig instance which will be used
for request execution if not explicitly set in the client execution
context.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setH2Config(org.apache.hc.core5.http2.config.H2Config h2Config) |
Sets H2Config configuration.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setHttp1Config(org.apache.hc.core5.http.config.Http1Config h1Config) |
Sets Http1Config configuration.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setIOReactorConfig(org.apache.hc.core5.reactor.IOReactorConfig ioReactorConfig) |
Sets IOReactorConfig configuration.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setIoReactorExceptionCallback(org.apache.hc.core5.function.Callback<java.lang.Exception> ioReactorExceptionCallback) |
Sets the callback that will be invoked when the client's IOReactor encounters an uncaught exception.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setIoSessionDecorator(org.apache.hc.core5.function.Decorator<org.apache.hc.core5.reactor.IOSession> ioSessionDecorator) |
Sets the IOSession Decorator that will be use with the client's IOReactor.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setIOSessionListener(org.apache.hc.core5.reactor.IOSessionListener ioSessionListener) |
Sets IOSessionListener listener.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy) |
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setProxy(org.apache.hc.core5.http.HttpHost proxy) |
Assigns default proxy value.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy) |
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setProxySelector(java.net.ProxySelector proxySelector) |
Sets the ProxySelector that will be used to select the proxies
to be used for establishing HTTP connections.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setRedirectStrategy(RedirectStrategy redirectStrategy) |
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setRetryStrategy(HttpRequestRetryStrategy retryStrategy) |
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setRoutePlanner(HttpRoutePlanner routePlanner) |
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setSchemePortResolver(SchemePortResolver schemePortResolver) |
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy) |
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setThreadFactory(java.util.concurrent.ThreadFactory threadFactory) |
Assigns ThreadFactory instance.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setUserAgent(java.lang.String userAgent) |
Assigns User-Agent value.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setUserTokenHandler(UserTokenHandler userTokenHandler) |
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setVersionPolicy(org.apache.hc.core5.http2.HttpVersionPolicy versionPolicy) |
Deprecated.
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.useSystemProperties() |
Use system properties when creating and configuring default
implementations.
|