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 Details

    • getSession

      reactor.core.publisher.Mono<WebSession> getSession(ServerWebExchange exchange)
      Return the 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.
      Parameters:
      exchange - the current exchange
      Returns:
      promise for the WebSession