- sendMessage
Send a WebSocket message: either TextMessage or BinaryMessage.Note: The underlying standard WebSocke
- getId
Return a unique session identifier.
- isOpen
Return whether the connection is still open.
- getAttributes
Return the map with attributes associated with the WebSocket session.On the
server side the map can
- close
Close the WebSocket connection with the given close status.
- getPrincipal
Return a java.security.Principal instance containing the name of the
authenticated user.If the user
- getRemoteAddress
Return the address of the remote client.
- getAcceptedProtocol
Return the negotiated sub-protocol.
- getUri
Return the URI used to open the WebSocket connection.
- getHandshakeHeaders
Return the headers used in the handshake request (never null).
- getLocalAddress
Return the address on which the request was received.
- getTextMessageSizeLimit
Get the configured maximum size for an incoming text message.