Uses of Class
org.forgerock.json.resource.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
Modifier 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.Modifier 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.