Class UndertowWebSocketHandlerAdapter
java.lang.Object
io.undertow.websockets.core.AbstractReceiveListener
org.springframework.web.reactive.socket.adapter.UndertowWebSocketHandlerAdapter
- All Implemented Interfaces:
EventListener
,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
Nested classes/interfaces inherited from interface org.xnio.ChannelListener
ChannelListener.Setter<T extends Channel>, ChannelListener.SimpleSetter<T extends Channel>
-
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
-