Package org.apache.hc.client5.http.cache
Caching APIs for both the classic and the asynchronous
HTTP transports.
-
Interface Summary Interface Description CacheControl Represents the values of the Cache-Control header in an HTTP message, which indicate whether and for how long the response can be cached by the client and intermediary proxies.HttpAsyncCacheInvalidator Deprecated. Do not use.HttpAsyncCacheStorage HttpAsyncCacheStorage represents an abstract HTTP cache storage backend that can then be plugged into the asynchronous (non-blocking ) request execution pipeline.HttpCacheCASOperation Atomic Compare-And-Swap (CAS) cache operation.HttpCacheEntrySerializer<T> Serializer / deserializer forHttpCacheStorageEntryentries.HttpCacheInvalidator Deprecated. Do not use.HttpCacheStorage HttpCacheStorage represents an abstract HTTP cache storage backend that can then be plugged into the classic (blocking) request execution pipeline.ResourceFactory GeneratesResourceinstances for handling cached HTTP response bodies. -
Class Summary Class Description CacheContextBuilder HeaderConstants Records static constants for caching directives.HttpAsyncCacheStorageAdaptor HttpAsyncCacheStorageimplementation that emulates asynchronous behavior using an instance of classicHttpCacheStorage.HttpCacheContext Cache executionHttpContext.HttpCacheContext.Delegate Internal adaptor class that delegates all its method calls toHttpClientContext.HttpCacheEntry Structure used to store anHttpResponsein a cache.HttpCacheEntryFactory HttpCacheEntryfactory.HttpCacheStorageEntry This class contains aHttpCacheEntryalong with its key.RequestCacheControl Represents the value of the Cache-Control header in an HTTP request containing cache control directives.RequestCacheControl.Builder Resource Represents a disposable system resource used for handling cached response bodies.ResponseCacheControl Represents the value of the Cache-Control header in an HTTP response, which indicate whether and for how long the response can be cached by the client and intermediary proxies.ResponseCacheControl.Builder -
Enum Summary Enum Description CacheResponseStatus This enumeration represents the various ways a response can be generated by an HTTP cache. -
Exception Summary Exception Description HttpCacheUpdateException Signals thatHttpCacheStorageencountered an error performing an update operation.ResourceIOException Signals a generic resource I/O error.