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

- Packages that use CacheConfig.Builder
  Package | Description
  --- | ---
  org.apache.hc.client5.http.impl.cache | Caching API implementation for both the classic and the asynchronous HTTP transports.

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

    Methods in org.apache.hc.client5.http.impl.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.`setAsynchronousWorkers(int asynchronousWorkers)` Sets the maximum number of threads to allow for background revalidations due to the `stale-while-revalidate` directive.
    `CacheConfig.Builder` | CacheConfig.Builder.`setFreshnessCheckEnabled(boolean freshnessCheckEnabled)`
    `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(TimeValue heuristicDefaultLifetime)` Sets default lifetime 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 processChallenge 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.`setSharedCache(boolean sharedCache)` 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–2021 The Apache Software Foundation. All rights reserved.