|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Supports last modified HTTP requests to facilitate content caching. Same contract as for the Servlet API's getLastModified() method.
Delegated to by SimpleControllerHandlerAdapter's getLastModified method. Any controller within our MVC framework can implement this.
SimpleControllerHandlerAdapter
Method Summary | |
long |
getLastModified(javax.servlet.http.HttpServletRequest request)
Same contract as for HttpServlet's getLastModified method. |
Method Detail |
public long getLastModified(javax.servlet.http.HttpServletRequest request)
The return value will be sent to the HTTP client as Last-Modified header, and compared with If-Modified-Since headers that the client sends back. The content will only get regenerated if there has been a modification.
request
- current HTTP request
HandlerAdapter.getLastModified(javax.servlet.http.HttpServletRequest, java.lang.Object)
,
HttpServlet.getLastModified(javax.servlet.http.HttpServletRequest)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |