public class UndertowWebSocketHandlerAdapter
extends io.undertow.websockets.core.AbstractReceiveListener
WebSocketConnectionCallback
implementation that adapts and
delegates to a Spring WebSocketHandler
.ChannelListener.Setter<T extends Channel>, ChannelListener.SimpleSetter<T extends Channel>
Constructor and Description |
---|
UndertowWebSocketHandlerAdapter(UndertowWebSocketSession session) |
Modifier and Type | Method and Description |
---|---|
protected void |
onError(io.undertow.websockets.core.WebSocketChannel channel,
Throwable error) |
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) |
bufferFullMessage, getMaxBinaryBufferSize, getMaxCloseBufferSize, getMaxPingBufferSize, getMaxPongBufferSize, getMaxTextBufferSize, handleEvent, onBinary, onClose, onCloseMessage, onFullPingMessage, onPing, onPong, onText
public UndertowWebSocketHandlerAdapter(UndertowWebSocketSession session)
protected void onFullTextMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedTextMessage message)
onFullTextMessage
in class io.undertow.websockets.core.AbstractReceiveListener
protected void onFullBinaryMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message)
onFullBinaryMessage
in class io.undertow.websockets.core.AbstractReceiveListener
protected void onFullPongMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message)
onFullPongMessage
in class io.undertow.websockets.core.AbstractReceiveListener
protected void onFullCloseMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message)
onFullCloseMessage
in class io.undertow.websockets.core.AbstractReceiveListener
protected void onError(io.undertow.websockets.core.WebSocketChannel channel, Throwable error)
onError
in class io.undertow.websockets.core.AbstractReceiveListener