Interface WebSessionManager
- All Known Implementing Classes:
- DefaultWebSessionManager
public interface WebSessionManager
Main class for access to the 
WebSession for an HTTP request.- Since:
- 5.0
- Author:
- Rossen Stoyanchev
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionreactor.core.publisher.Mono<WebSession>getSession(ServerWebExchange exchange) Return theWebSessionfor the given exchange.
- 
Method Details- 
getSessionReturn theWebSessionfor 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.- Parameters:
- exchange- the current exchange
- Returns:
- promise for the WebSession
 
 
-