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>

@Deprecated(since="6.2.18", forRemoval=true) public class UndertowWebSocketHandlerAdapter extends io.undertow.websockets.core.AbstractReceiveListener
Deprecated, for removal: This API element is subject to removal in a future version.
as of 6.2.18 with no replacement
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

    org.xnio.ChannelListener.Setter<T extends Channel>, org.xnio.ChannelListener.SimpleSetter<T extends Channel>
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    onError(io.undertow.websockets.core.WebSocketChannel channel, Throwable error)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    onFullBinaryMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    onFullCloseMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    onFullPongMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    onFullTextMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedTextMessage message)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class io.undertow.websockets.core.AbstractReceiveListener

    bufferFullMessage, getMaxBinaryBufferSize, getMaxCloseBufferSize, getMaxPingBufferSize, getMaxPongBufferSize, getMaxTextBufferSize, handleEvent, onBinary, onClose, onCloseMessage, onFullPingMessage, onPing, onPong, onText

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UndertowWebSocketHandlerAdapter

      public UndertowWebSocketHandlerAdapter(UndertowWebSocketSession session)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • onFullTextMessage

      protected void onFullTextMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedTextMessage message)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      onFullTextMessage in class io.undertow.websockets.core.AbstractReceiveListener
    • onFullBinaryMessage

      protected void onFullBinaryMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      onFullBinaryMessage in class io.undertow.websockets.core.AbstractReceiveListener
    • onFullPongMessage

      protected void onFullPongMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      onFullPongMessage in class io.undertow.websockets.core.AbstractReceiveListener
    • onFullCloseMessage

      protected void onFullCloseMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      onFullCloseMessage in class io.undertow.websockets.core.AbstractReceiveListener
    • onError

      protected void onError(io.undertow.websockets.core.WebSocketChannel channel, Throwable error)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      onError in class io.undertow.websockets.core.AbstractReceiveListener