public class CacheMapping
extends java.lang.Object
Constructor and Description |
---|
CacheMapping()
Creates the path mapping.
|
Modifier and Type | Method and Description |
---|---|
long |
getMaxAge()
Gets the expires period.
|
long |
getSMaxAge()
Gets the expires period.
|
java.lang.String |
getUrlPattern()
Gets the urlPattern.
|
java.lang.String |
getUrlRegexp()
Sets the urlRegexp
|
void |
init()
Init
|
void |
setExpires(Period period)
Sets the period
|
void |
setMaxAge(Period period)
Sets the period
|
void |
setSMaxAge(Period period)
Sets the period
|
void |
setUrlPattern(java.lang.String urlPattern)
Sets the urlPattern
|
void |
setUrlRegexp(java.lang.String urlRegexp)
Sets the urlRegexp
|
public void setUrlPattern(java.lang.String urlPattern)
public java.lang.String getUrlPattern()
public void setUrlRegexp(java.lang.String urlRegexp)
public java.lang.String getUrlRegexp()
public void setExpires(Period period)
public void setMaxAge(Period period)
public long getMaxAge()
public void setSMaxAge(Period period)
public long getSMaxAge()
@PostConstruct public void init() throws ServletException
ServletException