Class UndertowWebSocketHandlerAdapter
java.lang.Object
io.undertow.websockets.core.AbstractReceiveListener
org.springframework.web.reactive.socket.adapter.UndertowWebSocketHandlerAdapter
- All Implemented Interfaces:
EventListener
,org.xnio.ChannelListener<io.undertow.websockets.core.WebSocketChannel>
public class UndertowWebSocketHandlerAdapter
extends io.undertow.websockets.core.AbstractReceiveListener
Undertow
WebSocketConnectionCallback
implementation that adapts and
delegates to a Spring WebSocketHandler
.- Since:
- 5.0
- Author:
- Violeta Georgieva, Rossen Stoyanchev
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
onFullBinaryMessage
(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message) protected void
onFullCloseMessage
(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message) protected void
onFullPongMessage
(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message) protected void
onFullTextMessage
(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedTextMessage message) Methods inherited from class io.undertow.websockets.core.AbstractReceiveListener
bufferFullMessage, getMaxBinaryBufferSize, getMaxCloseBufferSize, getMaxPingBufferSize, getMaxPongBufferSize, getMaxTextBufferSize, handleEvent, onBinary, onClose, onCloseMessage, onFullPingMessage, onPing, onPong, onText
-
Constructor Details
-
UndertowWebSocketHandlerAdapter
-
-
Method Details
-
onFullTextMessage
protected void onFullTextMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedTextMessage message) - Overrides:
onFullTextMessage
in classio.undertow.websockets.core.AbstractReceiveListener
-
onFullBinaryMessage
protected void onFullBinaryMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message) - Overrides:
onFullBinaryMessage
in classio.undertow.websockets.core.AbstractReceiveListener
-
onFullPongMessage
protected void onFullPongMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message) - Overrides:
onFullPongMessage
in classio.undertow.websockets.core.AbstractReceiveListener
-
onFullCloseMessage
protected void onFullCloseMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message) - Overrides:
onFullCloseMessage
in classio.undertow.websockets.core.AbstractReceiveListener
-
onError
- Overrides:
onError
in classio.undertow.websockets.core.AbstractReceiveListener
-