|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface Cache
Annotated methods calculate the CacheControl instance to be asociated to the current request. CacheInterceptor will intercept the request just before event execution, and if the cache headers indicate that the browser version is still valid, the event will not be executed and the browser will receive a 304 (NOT MODIFIED) response instead.
Optional Element Summary | |
---|---|
java.lang.String[] |
except
the list of events where to apply the caching method, empty for none. |
java.lang.String[] |
on
the list of events where to apply the caching method, empty for all. |
public abstract java.lang.String[] on
public abstract java.lang.String[] except
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |