Top Description Classes
module spring.webflux

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

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Classes adapting Spring's Reactive WebSocket API to and from WebSocket runtimes.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractListenerWebSocketSession<
the native delegate type
T
>

Base class for WebSocketSession implementations that bridge between event-listener WebSocket APIs (e.g. Jakarta WebSocket API (JSR-356), Jetty, Undertow) and Reactive Streams.

public abstract class
AbstractWebSocketSession<
the native delegate type
T
>

Convenient base class for WebSocketSession implementations that holds common fields and exposes accessors.

public class
ContextWebSocketHandler

WebSocketHandler decorator that enriches the context of the target handler.

public class
JettyWebSocketHandlerAdapter

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

public class
JettyWebSocketSession

Spring WebSocketSession implementation that adapts to a Jetty WebSocket org.eclipse.jetty.websocket.api.Session.

public abstract class
Netty5WebSocketSessionSupport<
the native delegate type
T
>

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

public abstract class
NettyWebSocketSessionSupport<
the native delegate type
T
>

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

public class
ReactorNetty2WebSocketSession

WebSocketSession implementation for use with the Reactor Netty's (Netty 5) NettyInbound and NettyOutbound.

public class
ReactorNettyWebSocketSession

WebSocketSession implementation for use with the Reactor Netty's NettyInbound and NettyOutbound.

public class
StandardWebSocketHandlerAdapter

Adapter for the Jakarta WebSocket API (JSR-356) that delegates events to a reactive WebSocketHandler and its session.

public class
StandardWebSocketSession

Spring WebSocketSession adapter for a standard Java (JSR 356) jakarta.websocket.Session.

public class
public class
UndertowWebSocketHandlerAdapter

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

public class