| Package | Description | 
|---|---|
| org.springframework.test.web.servlet | 
 Contains server-side support for testing Spring MVC applications. 
 | 
| org.springframework.test.web.servlet.result | 
 Contains built-in  
ResultMatcher and ResultHandler implementations. | 
| org.springframework.web.servlet | 
 Provides servlets that integrate with the application context
 infrastructure, and the core interfaces and classes for the
 Spring web MVC framework. 
 | 
| org.springframework.web.servlet.support | 
 Support classes for Spring's web MVC framework. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
FlashMap | 
MvcResult.getFlashMap()
Return the "output" flash attributes saved during request processing. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
PrintingResultHandler.printFlashMap(FlashMap flashMap)
Print "output" flash attributes. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
FlashMap | 
FlashMap.addTargetRequestParam(String name,
                     String value)
Provide a request parameter identifying the request for this FlashMap. 
 | 
FlashMap | 
FlashMap.addTargetRequestParams(MultiValueMap<String,String> params)
Provide request parameters identifying the request for this FlashMap. 
 | 
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 Type | Method and Description | 
|---|---|
int | 
FlashMap.compareTo(FlashMap other)
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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static FlashMap | 
RequestContextUtils.getOutputFlashMap(HttpServletRequest request)
Return "output" FlashMap to save attributes for request after redirect. 
 | 
FlashMap | 
AbstractFlashMapManager.retrieveAndUpdate(HttpServletRequest request,
                 HttpServletResponse response)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected List<FlashMap> | 
SessionFlashMapManager.retrieveFlashMaps(HttpServletRequest request)
Retrieves saved FlashMap instances from the HTTP session, if any. 
 | 
protected abstract List<FlashMap> | 
AbstractFlashMapManager.retrieveFlashMaps(HttpServletRequest request)
Retrieve saved FlashMap instances from the underlying storage. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected boolean | 
AbstractFlashMapManager.isFlashMapForRequest(FlashMap flashMap,
                    HttpServletRequest request)
Whether the given FlashMap matches the current request. 
 | 
void | 
AbstractFlashMapManager.saveOutputFlashMap(FlashMap flashMap,
                  HttpServletRequest request,
                  HttpServletResponse response)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
SessionFlashMapManager.updateFlashMaps(List<FlashMap> flashMaps,
               HttpServletRequest request,
               HttpServletResponse response)
Saves the given FlashMap instances in the HTTP session. 
 | 
protected abstract void | 
AbstractFlashMapManager.updateFlashMaps(List<FlashMap> flashMaps,
               HttpServletRequest request,
               HttpServletResponse response)
Update the FlashMap instances in the underlying storage. 
 |