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