Uses of Class
org.forgerock.json.resource.ResponseCacheControl
Packages that use ResponseCacheControl
Package
Description
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
-
Uses of ResponseCacheControl in org.forgerock.json.resource
Methods in org.forgerock.json.resource that return ResponseCacheControlModifier and TypeMethodDescriptionstatic ResponseCacheControlResponseCacheControl.disableCaching()Indicates that clients and proxies should never cache the response under any circumstances.static ResponseCacheControlReturns a cache control that will allow caching until the given maximum age.static ResponseCacheControlResponseCacheControl.forMaxAgeSeconds(long maxAge) Returns a cache control that will allow caching until the given maximum age (in seconds).default ResponseCacheControlResponse.getCacheControl()Indicates how the response should be cached by clients.static ResponseCacheControlReturns a cache control that will allow caching until the given deadline according to the given clock.Methods in org.forgerock.json.resource with parameters of type ResponseCacheControlModifier and TypeMethodDescriptiondefault QueryResponseQueryResponse.setCacheControl(ResponseCacheControl cacheControl) Sets the cache control for this response.default ResourceResponseResourceResponse.setCacheControl(ResponseCacheControl cacheControl) Sets the cache control for this response.