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 ResponseCacheControl
ResponseCacheControl.disableCaching()
Indicates that clients and proxies should never cache the response under any circumstances.static ResponseCacheControl
Returns a cache control that will allow caching until the given maximum age.static ResponseCacheControl
ResponseCacheControl.forMaxAgeSeconds
(long maxAge) Returns a cache control that will allow caching until the given maximum age (in seconds).default ResponseCacheControl
Response.getCacheControl()
Indicates how the response should be cached by clients.static ResponseCacheControl
Returns 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 QueryResponse
QueryResponse.setCacheControl
(ResponseCacheControl cacheControl) Sets the cache control for this response.default ResourceResponse
ResourceResponse.setCacheControl
(ResponseCacheControl cacheControl) Sets the cache control for this response.