-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
Jelmer Kuperus opened SPR-12757 and commented
Currently it is not easy to serialize a org.springframework.web.servlet.FlashMap using anything other than regular java serialization or frameworks that use reflective field access
The problem is that the expirationStartTime and timeToLive fields can only be set by invoking startExpirationPeriod.
So suppose that I wanted to serialize this object to a json object to store in a cookie then i would not be able to do this
Using java serialization in this context would be ill advised as this post points out
Affects: 4.1.5
Issue Links:
- Make flash attributes use cookie to enable stateless webapp [SPR-8997] #13637 Make flash attributes use cookie to enable stateless webapp
Referenced from: commits 83ff0ad
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement