WebSession persistence.
| Modifier and Type | Method and Description |
|---|---|
| public Mono | |
| public Mono | Returns: a completion notification (success or error)the id of the session to remove sessionId)Remove the WebSession for the specified id. |
| public Mono | Returns: the session, or an emptyMonothe session to load sessionId)Return the WebSession for the given id. Note This method should perform an expiration check, and if it has expired remove the session and return empty. |
| public Mono | Returns: the session with the updated last access timethe session to update webSession)Update the last accessed timestamp to "now". |
| createWebSession | back to summary |
|---|---|
| public Mono Create a new WebSession. Note that this does nothing more than create a new instance.
The session can later be started explicitly via
| |
| removeSession | back to summary |
|---|---|
| public Mono Remove the WebSession for the specified id. | |
| retrieveSession | back to summary |
|---|---|
| public Mono Return the WebSession for the given id. Note This method should perform an expiration check, and if it has expired remove the session and return empty. This method should also update the lastAccessTime of retrieved sessions.
| |
| updateLastAccessTime | back to summary |
|---|---|
| public Mono Update the last accessed timestamp to "now".
| |