|
spring-webmvc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.web.servlet.support.AbstractFlashMapManager
org.springframework.web.servlet.support.SessionFlashMapManager
public class SessionFlashMapManager
Store and retrieve FlashMap
instances to and from the HTTP session.
Field Summary |
---|
Fields inherited from class org.springframework.web.servlet.support.AbstractFlashMapManager |
---|
logger |
Constructor Summary | |
---|---|
SessionFlashMapManager()
|
Method Summary | |
---|---|
protected java.util.List<FlashMap> |
retrieveFlashMaps(javax.servlet.http.HttpServletRequest request)
Retrieve saved FlashMap instances from the HTTP Session. |
protected void |
updateFlashMaps(java.util.List<FlashMap> flashMaps,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Save the given FlashMap instance, if not empty, in the HTTP session. |
Methods inherited from class org.springframework.web.servlet.support.AbstractFlashMapManager |
---|
getFlashMapTimeout, getUrlPathHelper, isFlashMapForRequest, retrieveAndUpdate, saveOutputFlashMap, setFlashMapTimeout, setUrlPathHelper |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionFlashMapManager()
Method Detail |
---|
protected java.util.List<FlashMap> retrieveFlashMaps(javax.servlet.http.HttpServletRequest request)
Does not cause an HTTP session to be created but may update it if a FlashMap matching the current request is found or there are expired FlashMap to be removed.
retrieveFlashMaps
in class AbstractFlashMapManager
request
- the current request
null
protected void updateFlashMaps(java.util.List<FlashMap> flashMaps, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
updateFlashMaps
in class AbstractFlashMapManager
flashMaps
- a non-empty list of FlashMap instances to saverequest
- the current requestresponse
- the current response
|
spring-webmvc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |