public class InMemoryWebSessionStore extends Object implements WebSessionStore
WebSession instances.| Constructor and Description |
|---|
InMemoryWebSessionStore() |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
removeSession(String id)
Remove the session with the given id.
|
reactor.core.publisher.Mono<WebSession> |
retrieveSession(String id)
Load the session for the given session id.
|
reactor.core.publisher.Mono<Void> |
storeSession(WebSession session)
Store the given session.
|
public reactor.core.publisher.Mono<Void> storeSession(WebSession session)
WebSessionStorestoreSession in interface WebSessionStoresession - the session to storeMono for completion notificationpublic reactor.core.publisher.Mono<WebSession> retrieveSession(String id)
WebSessionStoreretrieveSession in interface WebSessionStoreid - the session to loadMono for async access to the loaded sessionpublic reactor.core.publisher.Mono<Void> removeSession(String id)
WebSessionStoreremoveSession in interface WebSessionStoreid - the session to removeMono for completion notification