Uses of Class
org.springframework.web.servlet.FlashMap
Package
Description
Contains server-side support for testing Spring MVC applications.
Contains built-in
ResultMatcher
and ResultHandler
implementations.Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
Support classes for Spring's web MVC framework.
-
Uses of FlashMap in org.springframework.test.web.servlet
Modifier and TypeMethodDescriptionMvcResult.getFlashMap()
Return the "output" flash attributes saved during request processing. -
Uses of FlashMap in org.springframework.test.web.servlet.result
Modifier and TypeMethodDescriptionprotected void
PrintingResultHandler.printFlashMap
(FlashMap flashMap) Print "output" flash attributes. -
Uses of FlashMap in org.springframework.web.servlet
Modifier and TypeMethodDescriptionFlashMap.addTargetRequestParam
(String name, String value) Provide a request parameter identifying the request for this FlashMap.FlashMap.addTargetRequestParams
(MultiValueMap<String, String> params) Provide request parameters identifying the request for this FlashMap.FlashMapManager.retrieveAndUpdate
(HttpServletRequest request, HttpServletResponse response) Find a FlashMap saved by a previous request that matches to the current request, remove it from underlying storage, and also remove other expired FlashMap instances.Modifier and TypeMethodDescriptionint
Compare two FlashMaps and prefer the one that specifies a target URL path or has more target URL parameters.void
FlashMapManager.saveOutputFlashMap
(FlashMap flashMap, HttpServletRequest request, HttpServletResponse response) Save the given FlashMap, in some underlying storage and set the start of its expiration period. -
Uses of FlashMap in org.springframework.web.servlet.support
Modifier and TypeMethodDescriptionstatic FlashMap
RequestContextUtils.getOutputFlashMap
(HttpServletRequest request) Return "output" FlashMap to save attributes for request after redirect.final FlashMap
AbstractFlashMapManager.retrieveAndUpdate
(HttpServletRequest request, HttpServletResponse response) Modifier and TypeMethodDescriptionAbstractFlashMapManager.retrieveFlashMaps
(HttpServletRequest request) Retrieve saved FlashMap instances from the underlying storage.SessionFlashMapManager.retrieveFlashMaps
(HttpServletRequest request) Retrieves saved FlashMap instances from the HTTP session, if any.Modifier and TypeMethodDescriptionprotected boolean
AbstractFlashMapManager.isFlashMapForRequest
(FlashMap flashMap, HttpServletRequest request) Whether the given FlashMap matches the current request.final void
AbstractFlashMapManager.saveOutputFlashMap
(FlashMap flashMap, HttpServletRequest request, HttpServletResponse response) Modifier and TypeMethodDescriptionprotected abstract void
AbstractFlashMapManager.updateFlashMaps
(List<FlashMap> flashMaps, HttpServletRequest request, HttpServletResponse response) Update the FlashMap instances in the underlying storage.protected void
SessionFlashMapManager.updateFlashMaps
(List<FlashMap> flashMaps, HttpServletRequest request, HttpServletResponse response) Saves the given FlashMap instances in the HTTP session.