interface WebSessionIdResolver
Contract for session id resolution strategies. Allows for session id resolution through the request and for sending the session id or expiring the session through the response.
Author
Rossen Stoyanchev
Since
5.0
See Also
CookieWebSessionIdResolver
abstract fun expireSession(exchange: ServerWebExchange): Unit
Instruct the client to end the current session. |
|
abstract fun resolveSessionIds(exchange: ServerWebExchange): MutableList<String>
Resolve the session id's associated with the request. |
|
abstract fun setSessionId(exchange: ServerWebExchange, sessionId: String): Unit
Send the given session id to the client. |
open class CookieWebSessionIdResolver : WebSessionIdResolver
Cookie-based WebSessionIdResolver. |
|
open class HeaderWebSessionIdResolver : WebSessionIdResolver
Request and response header-based WebSessionIdResolver. |