Class CachingExec

java.lang.Object
org.apache.hc.client5.http.impl.cache.CachingExecBase
org.apache.hc.client5.http.impl.cache.CachingExec
All Implemented Interfaces:
ExecChainHandler

class CachingExec extends CachingExecBase implements ExecChainHandler

Request executor in the request execution chain that is responsible for transparent client-side caching.

The current implementation is conditionally compliant with HTTP/1.1 (meaning all the MUST and MUST NOTs are obeyed), although quite a lot, though not all, of the SHOULDs and SHOULD NOTs are obeyed too.

Folks that would like to experiment with alternative storage backends should look at the HttpCacheStorage interface and the related package documentation there. You may also be interested in the provided

invalid reference
EhCache
and
invalid reference
memcached
storage backends.

Further responsibilities such as communication with the opposite endpoint is delegated to the next executor in the request execution chain.

Since:
4.3