Package org.apache.hc.client5.http.cache
package org.apache.hc.client5.http.cache
Caching APIs for both the classic and the asynchronous
HTTP transports.
-
ClassDescriptionThis enumeration represents the various ways a response can be generated by the caching
HttpClient
; if a request is executed with anHttpCacheContext
then a parameter with one of these values will be registered in the context under the keyHttpCacheContext.CACHE_RESPONSE_STATUS
.Records static constants for various HTTP header names.Given a particular HTTP request / response pair, flush any cache entries that this exchange would invalidate.HttpAsyncCacheStorage represents an abstract HTTP cache storage backend that can then be plugged into the asynchronous (non-blocking ) request execution pipeline.HttpAsyncCacheStorage
implementation that emulates asynchronous behavior using an instance of classicHttpCacheStorage
.Atomic Compare-And-Swap (CAS) cache operation.Adaptor class that provides convenience type safe setters and getters for cachingHttpContext
attributes.Structure used to store anHttpResponse
in a cache.Serializer / deserializer forHttpCacheStorageEntry
entries.Given a particular HTTP request / response pair, flush any cache entries that this exchange would invalidate.HttpCacheStorage represents an abstract HTTP cache storage backend that can then be plugged into the classic (blocking) request execution pipeline.This class contains aHttpCacheEntry
along with its key.Signals thatHttpCacheStorage
encountered an error performing an update operation.Represents a disposable system resource used for handling cached response bodies.GeneratesResource
instances for handling cached HTTP response bodies.Signals a generic resource I/O error.