org.onebusaway.presentation.services.cachecontrol
Annotation Type CacheControl


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


Optional Element Summary
 String etagMethod
           
 String expiresMethod
           
 long expiresOffset
           
 boolean isPrivate
           
 boolean isPublic
           
 String lastModifiedMethod
           
 int maxAge
           
 boolean mustRevalidate
           
 boolean noCache
           
 boolean noStore
           
 boolean noTransform
           
 boolean proxyRevalidate
           
 int sharedMaxAge
           
 boolean shortCircuit
           
 

shortCircuit

public abstract boolean shortCircuit
Default:
true

isPublic

public abstract boolean isPublic
Default:
false

isPrivate

public abstract boolean isPrivate
Default:
false

noCache

public abstract boolean noCache
Default:
false

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

maxAge

public abstract int maxAge
Default:
-1

sharedMaxAge

public abstract int sharedMaxAge
Default:
-1

expiresOffset

public abstract long expiresOffset
Default:
0L

etagMethod

public abstract String etagMethod
Default:
""

lastModifiedMethod

public abstract String lastModifiedMethod
Default:
""

expiresMethod

public abstract String expiresMethod
Default:
""


Copyright © 2012 OneBusAway. All Rights Reserved.