@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
public @interface CacheControl
| Modifier and Type | Optional Element and Description |
|---|---|
CacheControlDirective[] |
directive
Array of non-parameterized response directives
|
int |
maxAge
The "max-age" response directive indicates that the response is to be considered stale after its age is greater
than the specified number of seconds.
|
int |
sMaxAge
The "s-maxage" response directive indicates that, in shared caches, the maximum age specified by this directive
overrides the maximum age specified by either the max-age directive or the Expires header field.
|
public abstract CacheControlDirective[] directive
public abstract int maxAge
public abstract int sMaxAge
Copyright © 2018 SAP SE. All Rights Reserved.