Interface WebSocketSessionInfo
public interface WebSocketSessionInfo
Expose information about the underlying WebSocketSession including the
 session id, the attributes, and HTTP handshake request.
- Since:
 - 1.0.0
 - Author:
 - Rossen Stoyanchev
 
- 
Method Summary
Modifier and TypeMethodDescriptionReturn the map with attributes associated with the WebSocket session.Return the HTTP headers from the handshake request.getId()Return the id for the WebSocketSession.reactor.core.publisher.Mono<Principal> Return the principal associated with the handshake request, if any.For a server session this is the remote address where the handshake request came from.getUri()Return the URL for the WebSocket endpoint. 
- 
Method Details
- 
getId
String getId()Return the id for the WebSocketSession. - 
getAttributes
 - 
getUri
URI getUri()Return the URL for the WebSocket endpoint. - 
getHeaders
HttpHeaders getHeaders()Return the HTTP headers from the handshake request. - 
getPrincipal
reactor.core.publisher.Mono<Principal> getPrincipal()Return the principal associated with the handshake request, if any. - 
getRemoteAddress
For a server session this is the remote address where the handshake request came from. For a client session, it isnull. 
 -