|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
public @interface CacheControlProvides an HTTP 1.1 cache control header annotation for Spring MVC controller methods. See also http://www.mnot.net/cache_docs/
| Optional Element Summary | |
|---|---|
int |
maxAge
The maximum amount of time, in seconds, that this content will be considered fresh. |
CachePolicy[] |
policy
The cache-control policies to apply to the response. |
int |
sharedMaxAge
The maximum amount of time, in seconds, that this content will be considered fresh only for shared caches (e.g., proxy) caches. |
public abstract CachePolicy[] policy
cache-control policies to apply to the response.
CachePolicypublic abstract int maxAge
public abstract int sharedMaxAge
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||