## Uses of Class
org.apache.http.impl.client.HttpClientBuilder

- Packages that use HttpClientBuilder
  Package | Description
  --- | ---
  org.apache.http.impl.client | Default HTTP client implementation.
  org.apache.http.impl.client.cache | This package contains a cache module that can be used for HTTP/1.1 client-side caching.
  org.apache.http.osgi.impl |
  org.apache.http.osgi.services |

- - ### Uses of HttpClientBuilder in org.apache.http.impl.client

    Methods in org.apache.http.impl.client that return HttpClientBuilder
    Modifier and Type | Method and Description
    --- | ---
    `HttpClientBuilder` | HttpClientBuilder.`addInterceptorFirst(org.apache.http.HttpRequestInterceptor itcp)` Adds this protocol interceptor to the head of the protocol processing list.
    `HttpClientBuilder` | HttpClientBuilder.`addInterceptorFirst(org.apache.http.HttpResponseInterceptor itcp)` Adds this protocol interceptor to the head of the protocol processing list.
    `HttpClientBuilder` | HttpClientBuilder.`addInterceptorLast(org.apache.http.HttpRequestInterceptor itcp)` Adds this protocol interceptor to the tail of the protocol processing list.
    `HttpClientBuilder` | HttpClientBuilder.`addInterceptorLast(org.apache.http.HttpResponseInterceptor itcp)` Adds this protocol interceptor to the tail of the protocol processing list.
    `static HttpClientBuilder` | HttpClientBuilder.`create()`
    `static HttpClientBuilder` | WinHttpClients.`custom()` Creates builder object for construction of custom `CloseableHttpClient` instances.
    `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(long maxIdleTime, TimeUnit maxIdleTimeUnit)` Makes this instance of HttpClient proactively evict idle connections from the connection pool using a background thread.
    `HttpClientBuilder` | HttpClientBuilder.`evictIdleConnections(Long maxIdleTime, TimeUnit maxIdleTimeUnit)` Deprecated. (4.5) use `evictIdleConnections(long, TimeUnit)`
    `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.http.ConnectionReuseStrategy reuseStrategy)` Assigns `ConnectionReuseStrategy` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setConnectionTimeToLive(long connTimeToLive, TimeUnit connTimeToLiveTimeUnit)` Sets maximum time to live for persistent connections
    `HttpClientBuilder` | HttpClientBuilder.`setContentDecoderRegistry(Map<String,InputStreamFactory> contentDecoderMap)` Assigns a map of `InputStreamFactory`s to be used for automatic content decompression.
    `HttpClientBuilder` | HttpClientBuilder.`setDefaultAuthSchemeRegistry(org.apache.http.config.Lookup<AuthSchemeProvider> authSchemeRegistry)` Assigns default `AuthScheme` registry which will be used for request execution if not explicitly set in the client execution context.
    `HttpClientBuilder` | HttpClientBuilder.`setDefaultConnectionConfig(org.apache.http.config.ConnectionConfig config)` Assigns default `ConnectionConfig`.
    `HttpClientBuilder` | HttpClientBuilder.`setDefaultCookieSpecRegistry(org.apache.http.config.Lookup<CookieSpecProvider> 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.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.`setDefaultSocketConfig(org.apache.http.config.SocketConfig config)` Assigns default `SocketConfig`.
    `HttpClientBuilder` | HttpClientBuilder.`setDnsResolver(DnsResolver dnsResolver)` Assigns `DnsResolver` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setHostnameVerifier(X509HostnameVerifier hostnameVerifier)` Deprecated. (4.4)
    `HttpClientBuilder` | HttpClientBuilder.`setHttpProcessor(org.apache.http.protocol.HttpProcessor httpprocessor)` Assigns `HttpProcessor` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy)` Assigns `ConnectionKeepAliveStrategy` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setMaxConnPerRoute(int maxConnPerRoute)` Assigns maximum connection per route value.
    `HttpClientBuilder` | HttpClientBuilder.`setMaxConnTotal(int maxConnTotal)` Assigns maximum total connection value.
    `HttpClientBuilder` | HttpClientBuilder.`setProxy(org.apache.http.HttpHost proxy)` Assigns default proxy value.
    `HttpClientBuilder` | HttpClientBuilder.`setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)` Assigns `AuthenticationStrategy` instance for proxy authentication.
    `HttpClientBuilder` | HttpClientBuilder.`setPublicSuffixMatcher(PublicSuffixMatcher publicSuffixMatcher)` Assigns file containing public suffix matcher.
    `HttpClientBuilder` | HttpClientBuilder.`setRedirectStrategy(RedirectStrategy redirectStrategy)` Assigns `RedirectStrategy` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setRequestExecutor(org.apache.http.protocol.HttpRequestExecutor requestExec)` Assigns `HttpRequestExecutor` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setRetryHandler(HttpRequestRetryHandler retryHandler)` Assigns `HttpRequestRetryHandler` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setRoutePlanner(HttpRoutePlanner routePlanner)` Assigns `HttpRoutePlanner` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setSchemePortResolver(SchemePortResolver schemePortResolver)` Assigns `SchemePortResolver` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setServiceUnavailableRetryStrategy(ServiceUnavailableRetryStrategy serviceUnavailStrategy)` Assigns `ServiceUnavailableRetryStrategy` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setSslcontext(SSLContext sslcontext)` Deprecated. (4.5) use `setSSLContext(SSLContext)`
    `HttpClientBuilder` | HttpClientBuilder.`setSSLContext(SSLContext sslContext)` Assigns `SSLContext` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setSSLHostnameVerifier(HostnameVerifier hostnameVerifier)` Assigns `HostnameVerifier` instance.
    `HttpClientBuilder` | HttpClientBuilder.`setSSLSocketFactory(LayeredConnectionSocketFactory sslSocketFactory)` Assigns `LayeredConnectionSocketFactory` 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.http.impl.client.cache

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

  - ### Uses of HttpClientBuilder in org.apache.http.osgi.impl

    Methods in org.apache.http.osgi.impl that return HttpClientBuilder
    Modifier and Type | Method and Description
    --- | ---
    `HttpClientBuilder` | OSGiClientBuilderFactory.`newBuilder()` Deprecated.

  - ### Uses of HttpClientBuilder in org.apache.http.osgi.services

    Methods in org.apache.http.osgi.services that return HttpClientBuilder
    Modifier and Type | Method and Description
    --- | ---
    `HttpClientBuilder` | HttpClientBuilderFactory.`newBuilder()`

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