SPR-9060 Revise HTTP Session based FlashMapManager implementation.

The "default" FlashMapManager implementation added in 3.1 was invoked
after the redirect, which is too late in cases where the HTTP session
has not been yet been created since as the response is committed.

This change corrects the issue and makes other improvements to the
FlashMapManager implementation such as extracting a base
AbstractFlashMapManager class and making it easier for other
implementations to be added (for example cookie-based).
This commit is contained in:
Rossen Stoyanchev
2012-01-31 22:10:55 -05:00
parent f3c3babfdf
commit 3d1fa4f6b6
16 changed files with 685 additions and 664 deletions

View File

@@ -29,6 +29,7 @@ Changes in version 3.1.1 (2012-02-06)
* make flash attributes available in the model of ParameterizableViewController and UrlFilenameViewController
* add property to RedirectView to disable expanding URI variables in redirect URL
* fix request mapping bug involving direct vs pattern path matches with HTTP methods
* revise the FlashMapManager contract and implemenation to address a flaw in its design
Changes in version 3.1 GA (2011-12-12)
--------------------------------------