org.jboss.resteasy.annotations.cache
Annotation Type Cache


@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
public @interface Cache

Set response Cache-Control header automatically.

Version:
$Revision: 1 $
Author:
Bill Burke

Optional Element Summary
 boolean isPrivate
           
 int maxAge
           
 boolean mustRevalidate
           
 boolean noStore
           
 boolean noTransform
           
 boolean proxyRevalidate
           
 int sMaxAge
           
 

maxAge

public abstract int maxAge
Default:
-1

sMaxAge

public abstract int sMaxAge
Default:
-1

noStore

public abstract boolean noStore
Default:
false

noTransform

public abstract boolean noTransform
Default:
false

mustRevalidate

public abstract boolean mustRevalidate
Default:
false

proxyRevalidate

public abstract boolean proxyRevalidate
Default:
false

isPrivate

public abstract boolean isPrivate
Default:
false


Copyright © 2010. All Rights Reserved.