public interface WebSocketSessionInfo
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAttributes()
Return the map with attributes associated with the WebSocket session.
|
HttpHeaders |
getHeaders()
Return the HTTP headers from the handshake request.
|
String |
getId()
Return the id for the WebSocketSession.
|
reactor.core.publisher.Mono<Principal> |
getPrincipal()
Return the principal associated with the handshake request, if any.
|
InetSocketAddress |
getRemoteAddress()
For a server session this is the remote address where the handshake
request came from.
|
URI |
getUri()
Return the URL for the WebSocket endpoint.
|
String getId()
Map<String,Object> getAttributes()
URI getUri()
HttpHeaders getHeaders()
reactor.core.publisher.Mono<Principal> getPrincipal()
@Nullable InetSocketAddress getRemoteAddress()
null
.