public class CacheConfiguration extends Object
| Constructor and Description |
|---|
CacheConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxAge()
Get the value of the cache max age.
|
boolean |
getMustRevalidate()
Get the value of the must-revalidate value.
|
boolean |
getNoCache()
Get the value of the no-cache value.
|
void |
setMaxAge(int maxAge)
Set the cache max-age value.
|
void |
setMustRevalidate(boolean mustRevalidate)
Set the cache must-revalidate value.
|
void |
setNoCache(boolean noCache)
Set the no-cache value.
|
public void setMaxAge(int maxAge)
maxAge - the cache max age header valuepublic int getMaxAge()
public void setMustRevalidate(boolean mustRevalidate)
mustRevalidate - the cache must-revalidate header valuepublic boolean getMustRevalidate()
public void setNoCache(boolean noCache)
noCache - the no-cache header valuepublic boolean getNoCache()