Better support for @SessionAttributes in clustered environments
A list of "known" session attributes (listed in @SessionAttributes) was gradually built as attributes get added to the model. In a failover scenario that knowledge is lost causing session attributes to be potentially re-initialized via @ModelAttribute methods. With this change @SessionAttributes listed by name are immediately added to he list of "known" session attributes thus this knowledge is not lost after a failover. Attributes listed by type however still must be discovered as they get added to the model.
This commit is contained in:
@@ -34,6 +34,7 @@ Changes in version 3.1.1 (2012-02-06)
|
||||
* add normalize() method to UriComponents
|
||||
* remove empty path segments from input to UriComponentsBuilder
|
||||
* add fromRequestUri(request) and fromCurrentRequestUri() methods to ServletUriCommonentsBuilder
|
||||
* improve @SessionAttributes handling to provide better support for clustered sessions
|
||||
|
||||
Changes in version 3.1 GA (2011-12-12)
|
||||
--------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user