spring-framework / org.springframework.web.socket.handler / BinaryWebSocketHandler

BinaryWebSocketHandler

open class BinaryWebSocketHandler : AbstractWebSocketHandler

A convenient base class for WebSocketHandler implementations that process binary messages only.

Text messages are rejected with CloseStatus#NOT_ACCEPTABLE. All other methods have empty implementations.

Author
Rossen Stoyanchev

Author
Phillip Webb

Since
4.0

Constructors

<init>

BinaryWebSocketHandler()

A convenient base class for WebSocketHandler implementations that process binary messages only.

Text messages are rejected with CloseStatus#NOT_ACCEPTABLE. All other methods have empty implementations.