Uses of Class
org.forgerock.json.resource.ResponseCacheControl
-
Packages that use ResponseCacheControl Package Description org.forgerock.json.resource 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 ResponseCacheControl Modifier and Type Method Description static ResponseCacheControl
ResponseCacheControl. disableCaching()
Indicates that clients and proxies should never cache the response under any circumstances.static ResponseCacheControl
ResponseCacheControl. forMaxAge(Duration maxAge)
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
ResponseCacheControl. until(Temporal deadline, Clock clock)
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 ResponseCacheControl Modifier and Type Method Description default 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.
-