## Uses of Class
org.apache.http.impl.client.cache.CacheConfig.Builder

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

- - ### Uses of CacheConfig.Builder in org.apache.http.impl.client.cache

    Methods in org.apache.http.impl.client.cache that return CacheConfig.Builder
    Modifier and Type | Method and Description
    --- | ---
    `static CacheConfig.Builder` | CacheConfig.`copy(CacheConfig config)`
    `static CacheConfig.Builder` | CacheConfig.`custom()`
    `CacheConfig.Builder` | CacheConfig.Builder.`setAllow303Caching(boolean allow303Caching)` Enables or disables 303 caching.
    `CacheConfig.Builder` | CacheConfig.Builder.`setAsynchronousWorkerIdleLifetimeSecs(int asynchronousWorkerIdleLifetimeSecs)` Sets the current maximum idle lifetime in seconds for a background revalidation worker thread.
    `CacheConfig.Builder` | CacheConfig.Builder.`setAsynchronousWorkersCore(int asynchronousWorkersCore)` Sets the minimum number of threads to keep alive for background revalidations due to the `stale-while-revalidate` directive.
    `CacheConfig.Builder` | CacheConfig.Builder.`setAsynchronousWorkersMax(int asynchronousWorkersMax)` Sets the maximum number of threads to allow for background revalidations due to the `stale-while-revalidate` directive.
    `CacheConfig.Builder` | CacheConfig.Builder.`setHeuristicCachingEnabled(boolean heuristicCachingEnabled)` Enables or disables heuristic caching.
    `CacheConfig.Builder` | CacheConfig.Builder.`setHeuristicCoefficient(float heuristicCoefficient)` Sets coefficient to be used in heuristic freshness caching.
    `CacheConfig.Builder` | CacheConfig.Builder.`setHeuristicDefaultLifetime(long heuristicDefaultLifetime)` Sets default lifetime in seconds to be used if heuristic freshness calculation is not possible.
    `CacheConfig.Builder` | CacheConfig.Builder.`setMaxCacheEntries(int maxCacheEntries)` Sets the maximum number of cache entries the cache will retain.
    `CacheConfig.Builder` | CacheConfig.Builder.`setMaxObjectSize(long maxObjectSize)` Specifies the maximum response body size that will be eligible for caching.
    `CacheConfig.Builder` | CacheConfig.Builder.`setMaxUpdateRetries(int maxUpdateRetries)` Sets the number of times to retry a cache update on failure
    `CacheConfig.Builder` | CacheConfig.Builder.`setNeverCacheHTTP10ResponsesWithQueryString(boolean neverCacheHTTP10ResponsesWithQuery)` Sets whether the cache should never cache HTTP 1.0 responses with a query string or not.
    `CacheConfig.Builder` | CacheConfig.Builder.`setRevalidationQueueSize(int revalidationQueueSize)` Sets the current maximum queue size for background revalidations.
    `CacheConfig.Builder` | CacheConfig.Builder.`setSharedCache(boolean isSharedCache)` Sets whether the cache should behave as a shared cache or not.
    `CacheConfig.Builder` | CacheConfig.Builder.`setWeakETagOnPutDeleteAllowed(boolean weakETagOnPutDeleteAllowed)` Allows or disallows weak etags to be used with PUT/DELETE If-Match requests.

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