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