public interface WebSessionManager
WebSession
for an HTTP request.WebSessionIdResolver
,
WebSessionStore
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<WebSession> |
getSession(ServerWebExchange exchange)
Return the
WebSession for the given exchange. |
reactor.core.publisher.Mono<WebSession> getSession(ServerWebExchange exchange)
WebSession
for the given exchange. Always guaranteed
to return an instance either matching to the session id requested by the
client, or a new session either because the client did not specify one
or because the underlying session expired.exchange
- the current exchange