程序包 org.springframework.web.reactive.socket.adapter
Classes adapting Spring's Reactive WebSocket API to and from WebSocket runtimes.
类概要 类 说明 AbstractListenerWebSocketSession<T> Base class forWebSocketSession
implementations that bridge between event-listener WebSocket APIs (e.g.AbstractWebSocketSession<T> Convenient base class forWebSocketSession
implementations that holds common fields and exposes accessors.JettyWebSocketHandlerAdapter Jetty@WebSocket
handler that delegates events to a reactiveWebSocketHandler
and its session.JettyWebSocketSession SpringWebSocketSession
implementation that adapts to a Jetty WebSocketSession
.NettyWebSocketSessionSupport<T> Base class for Netty-basedWebSocketSession
adapters that provides convenience methods to convert NettyWebSocketFrames
to and fromWebSocketMessages
.ReactorNettyWebSocketSession ReactorNettyWebSocketSession.WebSocketConnection Simple container forNettyInbound
andNettyOutbound
.StandardWebSocketHandlerAdapter Adapter for Java WebSocket API (JSR-356) that delegates events to a reactiveWebSocketHandler
and its session.StandardWebSocketSession SpringWebSocketSession
adapter for a standard Java (JSR 356)Session
.TomcatWebSocketSession SpringWebSocketSession
adapter for Tomcat'sSession
.UndertowWebSocketHandlerAdapter UndertowWebSocketConnectionCallback
implementation that adapts and delegates to a SpringWebSocketHandler
.UndertowWebSocketSession SpringWebSocketSession
implementation that adapts to an UndertowWebSocketChannel
.