public class SessionFlashMapManager extends AbstractFlashMapManager
FlashMap
instances to and from the HTTP session.logger
Constructor and Description |
---|
SessionFlashMapManager() |
Modifier and Type | Method and Description |
---|---|
protected List<FlashMap> |
retrieveFlashMaps(HttpServletRequest request)
Retrieve saved FlashMap instances from the HTTP Session.
|
protected void |
updateFlashMaps(List<FlashMap> flashMaps,
HttpServletRequest request,
HttpServletResponse response)
Save the given FlashMap instance, if not empty, in the HTTP session.
|
getFlashMapTimeout, getUrlPathHelper, isFlashMapForRequest, retrieveAndUpdate, saveOutputFlashMap, setFlashMapTimeout, setUrlPathHelper
protected List<FlashMap> retrieveFlashMaps(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 requestnull
protected void updateFlashMaps(List<FlashMap> flashMaps, HttpServletRequest request, HttpServletResponse response)
updateFlashMaps
in class AbstractFlashMapManager
flashMaps
- a non-empty list of FlashMap instances to saverequest
- the current requestresponse
- the current response