Uses of Class
org.miaixz.bus.http.cache.CacheControl
Packages that use CacheControl
-
Uses of CacheControl in org.miaixz.bus.http
Methods in org.miaixz.bus.http that return CacheControlModifier and TypeMethodDescriptionRequest.cacheControl()Response.cacheControl()Returns the cache control directives for this response.Methods in org.miaixz.bus.http with parameters of type CacheControlModifier and TypeMethodDescriptionRequest.Builder.cacheControl(CacheControl cacheControl) Sets this request'sCache-Controlheader, replacing any cache control headers already present. -
Uses of CacheControl in org.miaixz.bus.http.cache
Fields in org.miaixz.bus.http.cache declared as CacheControlModifier and TypeFieldDescriptionstatic final CacheControlCacheControl.FORCE_CACHE仅使用缓存的缓存控制请求指令,即使缓存的响应已过期。如果响应在缓存中不可用, 或者需要服务器验证,调用将失败static final CacheControlCacheControl.FORCE_NETWORK需要对响应进行网络验证的缓存控制请求指令。请注意,缓存可以通过有条件的GET请求来辅助这些请求.Methods in org.miaixz.bus.http.cache that return CacheControlModifier and TypeMethodDescriptionCacheControl.Builder.build()static CacheControl返回headers的缓存指令。 如果存在Cache-Control和Pragma头文件,则会同时显示它们