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 ResponseCacheControlResponseCacheControl. disableCaching()Indicates that clients and proxies should never cache the response under any circumstances.static ResponseCacheControlResponseCacheControl. forMaxAge(Duration maxAge)Returns 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 ResponseCacheControlResponseCacheControl. 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 QueryResponseQueryResponse. setCacheControl(ResponseCacheControl cacheControl)Sets the cache control for this response.default ResourceResponseResourceResponse. setCacheControl(ResponseCacheControl cacheControl)Sets the cache control for this response.
-