|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) public @interface ServerCached
Specifies that the response to this jax-rs method should be cached on the server. Will reuse @Cache settings. Can override @Cache settings with maxAge() attribute.
Optional Element Summary | |
---|---|
int |
maxAge
Override @Cache settings if they must be different or if you do not want to send response Cache-Control headers |
boolean |
revalidationOnly
Do not cache response, but do cache maxAge delta. |
public abstract int maxAge
public abstract boolean revalidationOnly
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |