Skip to content

Commit 2def068

Browse files
author
Micha Kiener
committed
SPR-6464, FlashMap doc completed
1 parent 646468e commit 2def068

File tree

1 file changed

+7
-0
lines changed
  • org.springframework.web/src/main/java/org/springframework/web/util

1 file changed

+7
-0
lines changed

org.springframework.web/src/main/java/org/springframework/web/util/FlashMap.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@
2828
* <p>
2929
* If window management is activated, the flash map is stored within window scope to avoid concurrent tabs / windows
3030
* affecting each other, it falls back to the session, if window management is not activated.
31+
* <p>
32+
* Typically, you will use the flash map by manually adding parameters to it before redirecting which could look like:
33+
*
34+
* <pre>
35+
* FlashMap.put(&quot;paramName&quot;, paramValue);
36+
* redirect(...);
37+
* </pre>
3138
*
3239
* @author Micha Kiener
3340
* @since 3.1

0 commit comments

Comments
 (0)