## 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(HttpRequestInterceptor interceptor)` Adds this protocol interceptor to the head of the protocol processing list.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`addRequestInterceptorLast(HttpRequestInterceptor interceptor)` Adds this protocol interceptor to the tail of the protocol processing list.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`addResponseInterceptorFirst(HttpResponseInterceptor interceptor)` Adds this protocol interceptor to the head of the protocol processing list.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`addResponseInterceptorLast(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(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(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(ConnectionReuseStrategy reuseStrategy)` Assigns `ConnectionReuseStrategy` instance.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setDefaultAuthSchemeRegistry(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(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 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(H2Config h2Config)` Sets `H2Config` configuration.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setHttp1Config(Http1Config h1Config)` Sets `Http1Config` configuration.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setIOReactorConfig(IOReactorConfig ioReactorConfig)` Sets `IOReactorConfig` configuration.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setIoReactorExceptionCallback(Callback<Exception> ioReactorExceptionCallback)` Sets the callback that will be invoked when the client's IOReactor encounters an uncaught exception.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setIoSessionDecorator(Decorator<IOSession> ioSessionDecorator)` Sets the `IOSession` `Decorator` that will be use with the client's IOReactor.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setIOSessionListener(IOSessionListener ioSessionListener)` Sets `IOSessionListener` listener.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy)` Assigns `ConnectionKeepAliveStrategy` instance.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setProxy(HttpHost proxy)` Assigns default proxy value.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)` Assigns `AuthenticationStrategy` instance for proxy authentication.
    `HttpAsyncClientBuilder` | HttpAsyncClientBuilder.`setProxySelector(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)` 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(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.