Package org.apache.hc.client5.http.impl.cache
package org.apache.hc.client5.http.impl.cache
Caching API implementation for both the classic and
the asynchronous HTTP transports.
-
ClassDescriptionAbstract cache backend for serialized binary objects capable of CAS (compare-and-swap) updates.Abstract cache backend for serialized binary objects capable of CAS (compare-and-swap) updates.Abstract cache backend for serialized objects capable of CAS (compare-and-swap) updates.Abstract cache backend for serialized objects capable of CAS (compare-and-swap) updates.Request executor in the request execution chain that is responsible for transparent client-side caching.Basic
HttpCacheStorageimplementation backed by an instance ofLinkedHashMap.Deprecated.This class is deprecated and will be removed in a future release.Determines if an HttpRequest is allowed to be served from the cache.Configuration for HTTP cachesA parser for the HTTP Cache-Control header that can be used to extract information about caching directives.Rebuilds anHttpResponsefrom aHttpCacheEntryDetermines whether a givenHttpCacheEntryis suitable to be used as a response for a givenHttpRequest.Represents a full match or a partial match (variant options) result of a cache lookup operation.Abstract cache re-validation class.HTTP cache support utilities.Request executor in the request execution chain that is responsible for transparent client-side caching.Builder for HTTP/2CloseableHttpAsyncClientinstances capable of client-side caching.Builder forCloseableHttpAsyncClientinstances capable of client-side caching.Factory methods forCloseableHttpAsyncClientinstances capable of client-side caching.Builder forCloseableHttpClientinstances capable of client-side caching.Factory methods forCloseableHttpClientinstances capable of client-side caching.ConditionalRequestBuilder<T extends org.apache.hc.core5.http.HttpRequest>Class used for asynchronous revalidations to be used when thestale-while-revalidatedirective is presentClass used for asynchronous revalidations to be used when thestale-while-revalidatedirective is presentCache resource backed by a file.GeneratesResourceinstances whose body is stored in a temporary file.Cache resource backed by a byte array on the heap.GeneratesResourceinstances stored entirely in heap.This class implements theHttpCacheEntrySerializerinterface, which defines the contract for HTTP cache entry serialization and deserialization.Deprecated.Do not use.HttpCacheStorageimplementation capable of deallocating resources associated with the cache entries.HttpCacheEntrySerializerthat usesHttpCacheStorageEntryas its cache content representation.This response interceptor adds VIA header to all outgoing request messages dispatched through the caching layer.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..This response interceptor adds VIA header to all incoming response messages dispatched through the caching layer.