|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CacheableController
Controllers that want their output to be cached must implement this interface.
| Field Summary | |
|---|---|
static long |
CACHE_ETERNALLY
|
| Method Summary | |
|---|---|
String |
getCacheKey(HttpServletRequest request)
Returns the key that is used to look up a previously cached version. |
long |
getLastModified(HttpServletRequest request)
Returns the date (as timestamp) when the content was modified for the last time. |
long |
getTimeToLive()
Returns the time in milliseconds that has to be elapsed since the last up-to-date check before another check is performed. |
| Methods inherited from interface org.springframework.web.servlet.mvc.Controller |
|---|
handleRequest |
| Field Detail |
|---|
static final long CACHE_ETERNALLY
| Method Detail |
|---|
String getCacheKey(HttpServletRequest request)
long getTimeToLive()
CACHE_ETERNALLY to indicate that the content should be
cached eternally.
long getLastModified(HttpServletRequest request)
throws Exception
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||