## Uses of Class
org.apache.hc.client5.http.impl.classic.HttpClientBuilder

- Packages that use HttpClientBuilder
  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.

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

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

  - ### Uses of HttpClientBuilder in org.apache.hc.client5.http.impl.classic

    Methods in org.apache.hc.client5.http.impl.classic that return HttpClientBuilder
    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.`addRequestInterceptorFirst(org.apache.hc.core5.http.HttpRequestInterceptor interceptor)` Adds this protocol interceptor to the head of the protocol processing list.
    `HttpClientBuilder` | HttpClientBuilder.`addRequestInterceptorLast(org.apache.hc.core5.http.HttpRequestInterceptor interceptor)` Adds this protocol interceptor to the tail of the protocol processing list.
    `HttpClientBuilder` | HttpClientBuilder.`addResponseInterceptorFirst(org.apache.hc.core5.http.HttpResponseInterceptor interceptor)` Adds this protocol interceptor to the head of the protocol processing list.
    `HttpClientBuilder` | HttpClientBuilder.`addResponseInterceptorLast(org.apache.hc.core5.http.HttpResponseInterceptor interceptor)` Adds this protocol interceptor to the tail of the protocol processing list.
    `static HttpClientBuilder` | HttpClientBuilder.`create()`
    `static HttpClientBuilder` | HttpClients.`custom()` Creates builder object for construction of custom `CloseableHttpClient` instances.
    `HttpClientBuilder` | HttpClientBuilder.`disableAuthCaching()` Disables authentication scheme caching.
    `HttpClientBuilder` | HttpClientBuilder.`disableAutomaticRetries()` Disables automatic request recovery and re-execution.
    `HttpClientBuilder` | HttpClientBuilder.`disableConnectionState()` Disables connection state tracking.
    `HttpClientBuilder` | HttpClientBuilder.`disableContentCompression()` Disables automatic content decompression.
    `HttpClientBuilder` | HttpClientBuilder.`disableCookieManagement()` Disables state (cookie) management.
    `HttpClientBuilder` | HttpClientBuilder.`disableDefaultUserAgent()` Disables the default user agent set by this builder if none has been provided by the user.
    `HttpClientBuilder` | HttpClientBuilder.`disableRedirectHandling()` Disables automatic redirect handling.
    `HttpClientBuilder` | HttpClientBuilder.`evictExpiredConnections()` Makes this instance of HttpClient proactively evict expired connections from the connection pool using a background thread.
    `HttpClientBuilder` | HttpClientBuilder.`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.
    `HttpClientBuilder` | HttpClientBuilder.`replaceExecInterceptor(String existing, ExecChainHandler interceptor)` Replace an existing interceptor with the given name with new interceptor.
    `HttpClientBuilder` | HttpClientBuilder.`setBackoffManager(BackoffManager backoffManager)` Sets `BackoffManager` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setConnectionBackoffStrategy(ConnectionBackoffStrategy connectionBackoffStrategy)` Sets `ConnectionBackoffStrategy` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setConnectionManager(HttpClientConnectionManager connManager)` Sets `HttpClientConnectionManager` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setConnectionManagerShared(boolean shared)` Defines the connection manager is to be shared by multiple client instances.
    `HttpClientBuilder` | HttpClientBuilder.`setConnectionReuseStrategy(org.apache.hc.core5.http.ConnectionReuseStrategy reuseStrategy)` Sets `ConnectionReuseStrategy` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setContentDecoderRegistry(LinkedHashMap<String,InputStreamFactory> contentDecoderMap)` Sets a map of `InputStreamFactory`s to be used for automatic content decompression.
    `HttpClientBuilder` | HttpClientBuilder.`setDefaultAuthSchemeRegistry(org.apache.hc.core5.http.config.Lookup<AuthSchemeFactory> authSchemeRegistry)` Sets default `AuthScheme` registry which will be used for request execution if not explicitly set in the client execution context.
    `HttpClientBuilder` | HttpClientBuilder.`setDefaultCookieSpecRegistry(org.apache.hc.core5.http.config.Lookup<CookieSpecFactory> cookieSpecRegistry)` Sets default `CookieSpec` registry which will be used for request execution if not explicitly set in the client execution context.
    `HttpClientBuilder` | HttpClientBuilder.`setDefaultCookieStore(CookieStore cookieStore)` Sets default `CookieStore` instance which will be used for request execution if not explicitly set in the client execution context.
    `HttpClientBuilder` | HttpClientBuilder.`setDefaultCredentialsProvider(CredentialsProvider credentialsProvider)` Sets default `CredentialsProvider` instance which will be used for request execution if not explicitly set in the client execution context.
    `HttpClientBuilder` | HttpClientBuilder.`setDefaultHeaders(Collection<? extends org.apache.hc.core5.http.Header> defaultHeaders)` Sets default request header values.
    `HttpClientBuilder` | HttpClientBuilder.`setDefaultRequestConfig(RequestConfig config)` Sets default `RequestConfig` instance which will be used for request execution if not explicitly set in the client execution context.
    `HttpClientBuilder` | HttpClientBuilder.`setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy)` Sets `ConnectionKeepAliveStrategy` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setProxy(org.apache.hc.core5.http.HttpHost proxy)` Sets default proxy value.
    `HttpClientBuilder` | HttpClientBuilder.`setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)` Sets `AuthenticationStrategy` instance for proxy authentication.
    `HttpClientBuilder` | HttpClientBuilder.`setProxySelector(ProxySelector proxySelector)` Sets the `ProxySelector` that will be used to select the proxies to be used for establishing HTTP connections.
    `HttpClientBuilder` | HttpClientBuilder.`setRedirectStrategy(RedirectStrategy redirectStrategy)` Sets `RedirectStrategy` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setRequestExecutor(org.apache.hc.core5.http.impl.io.HttpRequestExecutor requestExec)` Sets `HttpRequestExecutor` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setRetryStrategy(HttpRequestRetryStrategy retryStrategy)` Sets `HttpRequestRetryStrategy` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setRoutePlanner(HttpRoutePlanner routePlanner)` Sets `HttpRoutePlanner` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setSchemePortResolver(SchemePortResolver schemePortResolver)` Sets `SchemePortResolver` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)` Sets `AuthenticationStrategy` instance for target host authentication.
    `HttpClientBuilder` | HttpClientBuilder.`setUserAgent(String userAgent)` Sets `User-Agent` value.
    `HttpClientBuilder` | HttpClientBuilder.`setUserTokenHandler(UserTokenHandler userTokenHandler)` Sets `UserTokenHandler` instance.
    `HttpClientBuilder` | HttpClientBuilder.`useSystemProperties()` Use system properties when creating and configuring default implementations.

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