Interface WebSessionIdResolver
- All Known Implementing Classes:
- CookieWebSessionIdResolver,- HeaderWebSessionIdResolver
public 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.
- Since:
- 5.0
- Author:
- Rossen Stoyanchev
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionvoidexpireSession(ServerWebExchange exchange) Instruct the client to end the current session.resolveSessionIds(ServerWebExchange exchange) Resolve the session IDs associated with the request.voidsetSessionId(ServerWebExchange exchange, String sessionId) Send the given session ID to the client.
- 
Method Details- 
resolveSessionIdsResolve the session IDs associated with the request.- Parameters:
- exchange- the current exchange
- Returns:
- the session IDs or an empty list
 
- 
setSessionIdSend the given session ID to the client.- Parameters:
- exchange- the current exchange
- sessionId- the session ID
 
- 
expireSessionInstruct the client to end the current session.- Parameters:
- exchange- the current exchange
 
 
-