org.shept.org.springframework.web.servlet.mvc.formcache
public class LastModifiedSessionFormCache extends SimpleSessionFormCache
| Modifier and Type | Class and Description |
|---|---|
class |
LastModifiedSessionFormCache.WrappedObject |
MAX_CACHE_SIZE, SESSION_FORM_CACHE_ATTIRBUTE| Constructor and Description |
|---|
LastModifiedSessionFormCache() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
calculateChecksum(Object object) |
Object |
getForm(javax.servlet.http.HttpServletRequest request,
String formAttrName) |
long |
getLastModified(javax.servlet.http.HttpServletRequest request,
String formAttrName) |
void |
saveForm(javax.servlet.http.HttpServletRequest request,
String formAttrName,
Object command) |
clearCache, clearForm, clearOtherForms, getFormCache, getMaxCacheSize, setMaxCacheSizegetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic void saveForm(javax.servlet.http.HttpServletRequest request,
String formAttrName,
Object command)
saveForm in interface SessionFormCachesaveForm in class SimpleSessionFormCachepublic Object getForm(javax.servlet.http.HttpServletRequest request, String formAttrName)
getForm in interface SessionFormCachegetForm in class SimpleSessionFormCachepublic long getLastModified(javax.servlet.http.HttpServletRequest request,
String formAttrName)
getLastModified in interface SessionFormCachegetLastModified in class SimpleSessionFormCacheCopyright © 2014. All Rights Reserved.