Uses of Class
org.miaixz.bus.http.cache.CacheControl.Builder
Packages that use CacheControl.Builder
-
Uses of CacheControl.Builder in org.miaixz.bus.http.cache
Methods in org.miaixz.bus.http.cache that return CacheControl.BuilderModifier and TypeMethodDescriptionCacheControl.Builder.immutable()Indicates that the response will not be updated while it's fresh.Sets the maximum age of a cached response.Accept cached responses that have exceeded their freshness lifetime by at mostmaxStale.Sets the minimum number of seconds that a response will continue to be fresh for.CacheControl.Builder.noCache()Do not accept a cached response without validation.CacheControl.Builder.noStore()Do not store the server's response in any cache.CacheControl.Builder.noTransform()Do not accept a transformed response.CacheControl.Builder.onlyIfCached()Only accept the response from the cache.