Package org.apache.hc.client5.http.impl.cache
Caching API implementation for both the classic and
the asynchronous HTTP transports.
-
Interface Summary Interface Description CacheRevalidatorBase.ScheduledExecutor DefaultAsyncCacheRevalidator.RevalidationCall DefaultCacheRevalidator.RevalidationCall HttpAsyncCache HttpCache -
Class Summary Class Description AbstractBinaryAsyncCacheStorage<CAS> Abstract cache backend for serialized binary objects capable of CAS (compare-and-swap) updates.AbstractBinaryCacheStorage<CAS> Abstract cache backend for serialized binary objects capable of CAS (compare-and-swap) updates.AbstractSerializingAsyncCacheStorage<T,CAS> Abstract cache backend for serialized objects capable of CAS (compare-and-swap) updates.AbstractSerializingCacheStorage<T,CAS> Abstract cache backend for serialized objects capable of CAS (compare-and-swap) updates.AsyncCachingExec Request executor in the request execution chain that is responsible for transparent client-side caching.AsyncCachingExec.AsyncExecCallbackWrapper BasicHttpAsyncCache BasicHttpCache BasicHttpCacheStorage BasicHttpCacheStorageimplementation backed by an instance ofLinkedHashMap.ByteArrayCacheEntrySerializer Deprecated. This class is deprecated and will be removed in a future release.ByteArrayCacheEntrySerializer.RestrictedObjectInputStream CacheableRequestPolicy Determines if an HttpRequest is allowed to be served from the cache.CacheConfig Configuration for HTTP cachesCacheConfig.Builder CacheControlHeaderGenerator CacheControlHeaderParser A parser for the HTTP Cache-Control header that can be used to extract information about caching directives.CachedHttpResponseGenerator Rebuilds anHttpResponsefrom aHttpCacheEntryCachedResponseSuitabilityChecker Determines whether a givenHttpCacheEntryis suitable to be used as a response for a givenHttpRequest.CacheHit CacheKeyGenerator CacheMatch Represents a full match or a partial match (variant options) result of a cache lookup operation.CacheRevalidatorBase Abstract cache re-validation class.CacheSupport HTTP cache support utilities.CacheValidityPolicy CachingExec Request executor in the request execution chain that is responsible for transparent client-side caching.CachingExecBase CachingH2AsyncClientBuilder Builder for HTTP/2CloseableHttpAsyncClientinstances capable of client-side caching.CachingHttpAsyncClientBuilder Builder forCloseableHttpAsyncClientinstances capable of client-side caching.CachingHttpAsyncClients Factory methods forCloseableHttpAsyncClientinstances capable of client-side caching.CachingHttpClientBuilder Builder forCloseableHttpClientinstances capable of client-side caching.CachingHttpClients Factory methods forCloseableHttpClientinstances capable of client-side caching.CombinedEntity ConditionalRequestBuilder<T extends org.apache.hc.core5.http.HttpRequest> DefaultAsyncCacheRevalidator Class used for asynchronous revalidations to be used when thestale-while-revalidatedirective is presentDefaultAsyncCacheRevalidator.InternalScheduledExecutor DefaultCacheRevalidator Class used for asynchronous revalidations to be used when thestale-while-revalidatedirective is presentFileResource Cache resource backed by a file.FileResourceFactory GeneratesResourceinstances whose body is stored in a temporary file.HeapResource Cache resource backed by a byte array on the heap.HeapResourceFactory GeneratesResourceinstances stored entirely in heap.HttpByteArrayCacheEntrySerializer This class implements theHttpCacheEntrySerializerinterface, which defines the contract for HTTP cache entry serialization and deserialization.HttpCacheSupport Deprecated. Do not use.InternalCacheStorage ManagedHttpCacheStorage HttpCacheStorageimplementation capable of deallocating resources associated with the cache entries.NoopCacheEntrySerializer HttpCacheEntrySerializerthat usesHttpCacheStorageEntryas its cache content representation.RequestViaCache This response interceptor adds VIA header to all outgoing request messages dispatched through the caching layer.ResourceReference ResponseCacheConformance This response interceptor removes common Content- headers from the 304 response messages based on the provision of the HTTP specification that 304 status code represents a confirmation that the requested resource content has not changed since its retrieval or the last update and adds Date header if it is not present in the response message..ResponseCachingPolicy ResponseViaCache This response interceptor adds VIA header to all incoming response messages dispatched through the caching layer.ViaCacheGenerator -
Enum Summary Enum Description CacheSuitability