| 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. | 
| 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
  CloseableHttpAsyncClientinstances. | 
| 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  CharCodingConfigconfiguration. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setConnectionManager(AsyncClientConnectionManager connManager)Assigns  AsyncClientConnectionManagerinstance. | 
| 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  ConnectionReuseStrategyinstance. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setDefaultAuthSchemeRegistry(org.apache.hc.core5.http.config.Lookup<AuthSchemeFactory> authSchemeRegistry)Assigns default  AuthSchemeregistry 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  CookieSpecregistry
 which will be used for request execution if not explicitly set in the client
 execution context. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setDefaultCookieStore(CookieStore cookieStore)Assigns default  CookieStoreinstance which will be used for
 request execution if not explicitly set in the client execution context. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setDefaultCredentialsProvider(CredentialsProvider credentialsProvider)Assigns default  CredentialsProviderinstance 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  RequestConfiginstance 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  H2Configconfiguration. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setHttp1Config(org.apache.hc.core5.http.config.Http1Config h1Config)Sets  Http1Configconfiguration. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setIOReactorConfig(org.apache.hc.core5.reactor.IOReactorConfig ioReactorConfig)Sets  IOReactorConfigconfiguration. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy)Assigns  ConnectionKeepAliveStrategyinstance. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setProxy(org.apache.hc.core5.http.HttpHost proxy)Assigns default proxy value. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)Assigns  AuthenticationStrategyinstance for proxy
 authentication. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setRedirectStrategy(RedirectStrategy redirectStrategy)Assigns  RedirectStrategyinstance. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setRetryStrategy(HttpRequestRetryStrategy retryStrategy)Assigns  HttpRequestRetryStrategyinstance. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setRoutePlanner(HttpRoutePlanner routePlanner)Assigns  HttpRoutePlannerinstance. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setSchemePortResolver(SchemePortResolver schemePortResolver)Assigns  SchemePortResolverinstance. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)Assigns  AuthenticationStrategyinstance for target
 host authentication. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setThreadFactory(ThreadFactory threadFactory)Assigns  ThreadFactoryinstance. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setUserAgent(String userAgent)Assigns  User-Agentvalue. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setUserTokenHandler(UserTokenHandler userTokenHandler)Assigns  UserTokenHandlerinstance. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setVersionPolicy(org.apache.hc.core5.http2.HttpVersionPolicy versionPolicy)Sets HTTP protocol version policy. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. useSystemProperties()Use system properties when creating and configuring default
 implementations. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | CachingHttpAsyncClientBuilderBuilder for  CloseableHttpAsyncClientinstances capable of client-side caching. | 
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.