## 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.
  org.apache.hc.client5.http.impl.win | Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.

- - ### 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)` Assigns `BackoffManager` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setConnectionBackoffStrategy(ConnectionBackoffStrategy connectionBackoffStrategy)` Assigns `ConnectionBackoffStrategy` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setConnectionManager(HttpClientConnectionManager connManager)` Assigns `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)` Assigns `ConnectionReuseStrategy` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setContentDecoderRegistry(LinkedHashMap<String,InputStreamFactory> contentDecoderMap)` Assigns a map of `InputStreamFactory`s to be used for automatic content decompression.
    `HttpClientBuilder` | HttpClientBuilder.`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.
    `HttpClientBuilder` | HttpClientBuilder.`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.
    `HttpClientBuilder` | HttpClientBuilder.`setDefaultCookieStore(CookieStore cookieStore)` Assigns default `CookieStore` instance which will be used for request execution if not explicitly set in the client execution context.
    `HttpClientBuilder` | HttpClientBuilder.`setDefaultCredentialsProvider(CredentialsProvider credentialsProvider)` Assigns 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)` Assigns default request header values.
    `HttpClientBuilder` | HttpClientBuilder.`setDefaultRequestConfig(RequestConfig config)` Assigns default `RequestConfig` instance which will be used for request execution if not explicitly set in the client execution context.
    `HttpClientBuilder` | HttpClientBuilder.`setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy)` Assigns `ConnectionKeepAliveStrategy` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setProxy(org.apache.hc.core5.http.HttpHost proxy)` Assigns default proxy value.
    `HttpClientBuilder` | HttpClientBuilder.`setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)` Assigns `AuthenticationStrategy` instance for proxy authentication.
    `HttpClientBuilder` | HttpClientBuilder.`setRedirectStrategy(RedirectStrategy redirectStrategy)` Assigns `RedirectStrategy` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setRequestExecutor(org.apache.hc.core5.http.impl.io.HttpRequestExecutor requestExec)` Assigns `HttpRequestExecutor` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setRetryStrategy(HttpRequestRetryStrategy retryStrategy)` Assigns `HttpRequestRetryStrategy` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setRoutePlanner(HttpRoutePlanner routePlanner)` Assigns `HttpRoutePlanner` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setSchemePortResolver(SchemePortResolver schemePortResolver)` Assigns `SchemePortResolver` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)` Assigns `AuthenticationStrategy` instance for target host authentication.
    `HttpClientBuilder` | HttpClientBuilder.`setUserAgent(String userAgent)` Assigns `User-Agent` value.
    `HttpClientBuilder` | HttpClientBuilder.`setUserTokenHandler(UserTokenHandler userTokenHandler)` Assigns `UserTokenHandler` instance.
    `HttpClientBuilder` | HttpClientBuilder.`useSystemProperties()` Use system properties when creating and configuring default implementations.

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

    Methods in org.apache.hc.client5.http.impl.win that return HttpClientBuilder
    Modifier and Type | Method and Description
    --- | ---
    `static HttpClientBuilder` | WinHttpClients.`custom()` Creates builder object for construction of custom `CloseableHttpClient` instances.

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