## Uses of Class
org.apache.hc.client5.http.impl.async.HttpAsyncClientBuilder

- Packages that use HttpAsyncClientBuilder
  Package | Description
  --- | ---
  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.cache | Caching API implementation for both the classic and the asynchronous HTTP transports.

- - ### Uses of HttpAsyncClientBuilder in org.apache.hc.client5.http.impl.async

    Methods in org.apache.hc.client5.http.impl.async that return HttpAsyncClientBuilder
    Modifier and Type | Method and Description
    --- | ---
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`addExecInterceptorAfter(String existing, String name, AsyncExecChainHandler interceptor)` Adds this execution interceptor after interceptor with the given name.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`addExecInterceptorBefore(String existing, String name, AsyncExecChainHandler interceptor)` Adds this execution interceptor before an existing interceptor.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`addExecInterceptorFirst(String name, AsyncExecChainHandler interceptor)` Add an interceptor to the head of the processing list.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`addExecInterceptorLast(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()` Creates builder object for construction of custom `CloseableHttpAsyncClient` instances.
    `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(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)` Assigns `AsyncClientConnectionManager` instance.
    `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(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<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)` Assigns `ConnectionKeepAliveStrategy` instance.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setProxy(org.apache.hc.core5.http.HttpHost proxy)` Assigns default proxy value.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)` Assigns `AuthenticationStrategy` instance for proxy authentication.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setRedirectStrategy(RedirectStrategy redirectStrategy)` Assigns `RedirectStrategy` instance.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setRetryStrategy(HttpRequestRetryStrategy retryStrategy)` Assigns `HttpRequestRetryStrategy` instance.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setRoutePlanner(HttpRoutePlanner routePlanner)` Assigns `HttpRoutePlanner` instance.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setSchemePortResolver(SchemePortResolver schemePortResolver)` Assigns `SchemePortResolver` instance.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)` Assigns `AuthenticationStrategy` instance for target host authentication.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setThreadFactory(ThreadFactory threadFactory)` Assigns `ThreadFactory` instance.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setUserAgent(String userAgent)` Assigns `User-Agent` value.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setUserTokenHandler(UserTokenHandler userTokenHandler)` Assigns `UserTokenHandler` instance.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setVersionPolicy(org.apache.hc.core5.http2.HttpVersionPolicy versionPolicy)` Deprecated. Use `TlsConfig` and connection manager methods
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`useSystemProperties()` Use system properties when creating and configuring default implementations.

  - ### Uses of HttpAsyncClientBuilder in org.apache.hc.client5.http.impl.cache

    Subclasses of HttpAsyncClientBuilder in org.apache.hc.client5.http.impl.cache
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CachingHttpAsyncClientBuilder` Builder for `CloseableHttpAsyncClient` instances capable of client-side caching.

Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.