Package | Description |
---|---|
org.springframework.web.reactive.socket |
Abstractions and support classes for reactive WebSocket interactions.
|
org.springframework.web.reactive.socket.adapter |
Classes adapting Spring's Reactive WebSocket API to and from WebSocket runtimes.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
WebSocketHandler.handle(WebSocketSession session)
Invoked when a new WebSocket connection is established, and allows
handling of the session.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractListenerWebSocketSession<T>
Base class for
WebSocketSession implementations that bridge between
event-listener WebSocket APIs (e.g. |
class |
AbstractWebSocketSession<T>
Convenient base class for
WebSocketSession implementations that
holds common fields and exposes accessors. |
class |
JettyWebSocketSession
Spring
WebSocketSession implementation that adapts to a Jetty
WebSocket Session . |
class |
NettyWebSocketSessionSupport<T>
Base class for Netty-based
WebSocketSession adapters that provides
convenience methods to convert Netty WebSocketFrames to and from
WebSocketMessages . |
class |
ReactorNettyWebSocketSession
|
class |
StandardWebSocketSession
Spring
WebSocketSession adapter for a standard Java (JSR 356)
Session . |
class |
TomcatWebSocketSession
Spring
WebSocketSession adapter for Tomcat's
Session . |
class |
UndertowWebSocketSession
Spring
WebSocketSession implementation that adapts to an Undertow
WebSocketChannel . |