Uses of Class
org.apache.hc.client5.http.cache.RequestCacheControl
-
Packages that use RequestCacheControl Package Description org.apache.hc.client5.http.cache Caching APIs for both the classic and the asynchronous HTTP transports.org.apache.hc.client5.http.impl.cache Caching API implementation for both the classic and the asynchronous HTTP transports. -
-
Uses of RequestCacheControl in org.apache.hc.client5.http.cache
Fields in org.apache.hc.client5.http.cache declared as RequestCacheControl Modifier and Type Field Description private RequestCacheControlCacheContextBuilder. cacheControlstatic RequestCacheControlRequestCacheControl. DEFAULTprivate RequestCacheControlHttpCacheContext. requestCacheControlMethods in org.apache.hc.client5.http.cache that return RequestCacheControl Modifier and Type Method Description RequestCacheControlRequestCacheControl.Builder. build()RequestCacheControlHttpCacheContext.Delegate. getRequestCacheControl()RequestCacheControlHttpCacheContext. getRequestCacheControl()Represents cache control requested by the client.RequestCacheControlHttpCacheContext. getRequestCacheControlOrDefault()Returns cache control requested by the client orDEFAULTif not explicitly set in the context.Methods in org.apache.hc.client5.http.cache with parameters of type RequestCacheControl Modifier and Type Method Description CacheContextBuilderCacheContextBuilder. setCacheControl(RequestCacheControl cacheControl)voidHttpCacheContext.Delegate. setRequestCacheControl(RequestCacheControl requestCacheControl)voidHttpCacheContext. setRequestCacheControl(RequestCacheControl requestCacheControl) -
Uses of RequestCacheControl in org.apache.hc.client5.http.impl.cache
Methods in org.apache.hc.client5.http.impl.cache that return RequestCacheControl Modifier and Type Method Description RequestCacheControlCacheControlHeaderParser. parse(org.apache.hc.core5.http.HttpRequest request)RequestCacheControlCacheControlHeaderParser. parseRequest(java.util.Iterator<org.apache.hc.core5.http.Header> headerIterator)Parses the specified request header and returns a newRequestCacheControlinstance containing the relevant caching directives.Methods in org.apache.hc.client5.http.impl.cache with parameters of type RequestCacheControl Modifier and Type Method Description CacheSuitabilityCachedResponseSuitabilityChecker. assessSuitability(RequestCacheControl requestCacheControl, ResponseCacheControl responseCacheControl, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry, java.time.Instant now)Determine if I can utilize the givenHttpCacheEntryto respond to the givenHttpRequest.booleanCacheableRequestPolicy. canBeServedFromCache(RequestCacheControl cacheControl, org.apache.hc.core5.http.HttpRequest request)Determines if an HttpRequest can be served from the cache.java.util.List<org.apache.hc.core5.http.NameValuePair>CacheControlHeaderGenerator. convert(RequestCacheControl cacheControl)org.apache.hc.core5.http.HeaderCacheControlHeaderGenerator. generate(RequestCacheControl cacheControl)voidCacheControlHeaderGenerator. generate(RequestCacheControl cacheControl, org.apache.hc.core5.http.HttpMessage message)private voidAsyncCachingExec. handleCacheHit(RequestCacheControl requestCacheControl, ResponseCacheControl responseCacheControl, CacheHit hit, org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback)private org.apache.hc.core5.http.ClassicHttpResponseCachingExec. handleCacheHit(RequestCacheControl requestCacheControl, ResponseCacheControl responseCacheControl, CacheHit hit, org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, ExecChain.Scope scope, ExecChain chain)private voidAsyncCachingExec. handleCacheMiss(RequestCacheControl requestCacheControl, CacheHit partialMatch, org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback)private org.apache.hc.core5.http.ClassicHttpResponseCachingExec. handleCacheMiss(RequestCacheControl requestCacheControl, CacheHit partialMatch, org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, ExecChain.Scope scope, ExecChain chain)booleanCachedResponseSuitabilityChecker. isSuitableIfError(RequestCacheControl requestCacheControl, ResponseCacheControl responseCacheControl, HttpCacheEntry entry, java.time.Instant now)(package private) voidAsyncCachingExec. revalidateCacheEntryWithFallback(RequestCacheControl requestCacheControl, ResponseCacheControl responseCacheControl, CacheHit hit, org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback)(package private) org.apache.hc.core5.http.ClassicHttpResponseCachingExec. revalidateCacheEntryWithFallback(RequestCacheControl requestCacheControl, ResponseCacheControl responseCacheControl, CacheHit hit, org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, ExecChain.Scope scope, ExecChain chain)
-