spring-framework / org.springframework.web.reactive.socket.adapter

Package org.springframework.web.reactive.socket.adapter

Types

AbstractWebSocketSession

abstract class AbstractWebSocketSession<T : Any> : WebSocketSession

Convenient base class for WebSocketSession implementations that holds common fields and exposes accessors. Also implements the WebSocketMessage factory methods.

JettyWebSocketHandlerAdapter

open class JettyWebSocketHandlerAdapter

Jetty WebSocket handler that delegates events to a reactive WebSocketHandler and its session.

NettyWebSocketSessionSupport

abstract class NettyWebSocketSessionSupport<T : Any> : AbstractWebSocketSession<T>

Base class for Netty-based WebSocketSession adapters that provides convenience methods to convert Netty WebSocketFrames to and from WebSocketMessages.

ReactorNettyWebSocketSession

open class ReactorNettyWebSocketSession : NettyWebSocketSessionSupport<WebSocketConnection>

Spring WebSocketSession implementation that adapts to Reactor Netty's WebSocket NettyInbound and NettyOutbound.

UndertowWebSocketHandlerAdapter

open class UndertowWebSocketHandlerAdapter : AbstractReceiveListener

Undertow WebSocketConnectionCallback implementation that adapts and delegates to a Spring WebSocketHandler.

UndertowWebSocketSession

open class UndertowWebSocketSession : AbstractListenerWebSocketSession<WebSocketChannel>

Spring WebSocketSession implementation that adapts to an Undertow io.undertow.websockets.core.WebSocketChannel.