spring-framework / org.springframework.web.server.session / WebSessionStore / retrieveSession

retrieveSession

abstract fun retrieveSession(sessionId: String): Mono<WebSession>

Return the WebSession for the given id.

Note: This method should perform an expiration check, and if it has expired remove the session and return empty. This method should also update the lastAccessTime of retrieved sessions.

Parameters

sessionId - the session to load

Return
the session, or an empty Mono .