public class TextWebSocketHandler extends AbstractWebSocketHandler
WebSocketHandler
implementations
that process text messages only.
Binary messages are rejected with CloseStatus.NOT_ACCEPTABLE
.
All other methods have empty implementations.
Constructor and Description |
---|
TextWebSocketHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
handleBinaryMessage(WebSocketSession session,
BinaryMessage message) |
afterConnectionClosed, afterConnectionEstablished, handleMessage, handlePongMessage, handleTextMessage, handleTransportError, supportsPartialMessages
protected void handleBinaryMessage(WebSocketSession session, BinaryMessage message)
handleBinaryMessage
in class AbstractWebSocketHandler