Class JettyWebSocketSession

java.lang.Object
org.springframework.web.reactive.socket.adapter.AbstractWebSocketSession<T>
org.springframework.web.reactive.socket.adapter.AbstractListenerWebSocketSession<org.eclipse.jetty.websocket.api.Session>
org.springframework.web.reactive.socket.adapter.JettyWebSocketSession
All Implemented Interfaces:
Subscriber<Void>, WebSocketSession

public class JettyWebSocketSession extends AbstractListenerWebSocketSession<org.eclipse.jetty.websocket.api.Session>
Spring WebSocketSession implementation that adapts to a Jetty WebSocket Session.
Since:
5.0
Author:
Violeta Georgieva, Rossen Stoyanchev
  • Constructor Details

    • JettyWebSocketSession

      public JettyWebSocketSession(org.eclipse.jetty.websocket.api.Session session, HandshakeInfo info, org.springframework.core.io.buffer.DataBufferFactory factory)
    • JettyWebSocketSession

      public JettyWebSocketSession(org.eclipse.jetty.websocket.api.Session session, HandshakeInfo info, org.springframework.core.io.buffer.DataBufferFactory factory, @Nullable reactor.core.publisher.Sinks.Empty<Void> completionSink)
  • Method Details