open class InMemoryWebSessionStore : WebSessionStore
Simple Map-based storage for WebSession instances.
Author
Rossen Stoyanchev
Author
Rob Winch
Since
5.0
InMemoryWebSessionStore()
Simple Map-based storage for WebSession instances. |
open fun createWebSession(): Mono<WebSession> |
|
open fun getClock(): Clock
Return the configured clock for session lastAccessTime calculations. |
|
open fun removeSession(id: String): Mono<Void> |
|
open fun retrieveSession(id: String): Mono<WebSession> |
|
open fun setClock(clock: Clock): Unit
Configure the Clock to use to set lastAccessTime on every created session and to calculate if it is expired. This may be useful to align to different timezone or to set the clock back in a test, e.g. By default this is |
|
open fun updateLastAccessTime(webSession: WebSession): Mono<WebSession> |