Uses of Class
org.springframework.web.reactive.socket.HandshakeInfo
Package
Description
Abstractions and support classes for reactive WebSocket interactions.
Classes adapting Spring's Reactive WebSocket API to and from WebSocket runtimes.
Client support for WebSocket interactions.
Server support for WebSocket interactions.
Holds implementations of
RequestUpgradeStrategy
.-
Uses of HandshakeInfo in org.springframework.web.reactive.socket
Modifier and TypeMethodDescriptionWebSocketSession.getHandshakeInfo()
Return information from the handshake request. -
Uses of HandshakeInfo in org.springframework.web.reactive.socket.adapter
ModifierConstructorDescriptionAbstractListenerWebSocketSession
(T delegate, String id, HandshakeInfo info, DataBufferFactory bufferFactory) Base constructor.AbstractListenerWebSocketSession
(T delegate, String id, HandshakeInfo info, DataBufferFactory bufferFactory, reactor.core.publisher.Sinks.Empty<Void> handlerCompletionSink) Alternative constructor with completion sink to use to signal when the handling of the session is complete, with success or error.protected
AbstractWebSocketSession
(T delegate, String id, HandshakeInfo info, DataBufferFactory bufferFactory) Create a new WebSocket session.JettyWebSocketSession
(org.eclipse.jetty.websocket.api.Session session, HandshakeInfo info, DataBufferFactory factory) JettyWebSocketSession
(org.eclipse.jetty.websocket.api.Session session, HandshakeInfo info, DataBufferFactory factory, reactor.core.publisher.Sinks.Empty<Void> completionSink) protected
Netty5WebSocketSessionSupport
(T delegate, HandshakeInfo info, Netty5DataBufferFactory factory) protected
NettyWebSocketSessionSupport
(T delegate, HandshakeInfo info, NettyDataBufferFactory factory) ReactorNetty2WebSocketSession
(reactor.netty5.http.websocket.WebsocketInbound inbound, reactor.netty5.http.websocket.WebsocketOutbound outbound, HandshakeInfo info, Netty5DataBufferFactory bufferFactory) Constructor for the session, using theNetty5WebSocketSessionSupport.DEFAULT_FRAME_MAX_SIZE
value.ReactorNetty2WebSocketSession
(reactor.netty5.http.websocket.WebsocketInbound inbound, reactor.netty5.http.websocket.WebsocketOutbound outbound, HandshakeInfo info, Netty5DataBufferFactory bufferFactory, int maxFramePayloadLength) Constructor with an additional maxFramePayloadLength argument.ReactorNettyWebSocketSession
(reactor.netty.http.websocket.WebsocketInbound inbound, reactor.netty.http.websocket.WebsocketOutbound outbound, HandshakeInfo info, NettyDataBufferFactory bufferFactory) Constructor for the session, using theNettyWebSocketSessionSupport.DEFAULT_FRAME_MAX_SIZE
value.ReactorNettyWebSocketSession
(reactor.netty.http.websocket.WebsocketInbound inbound, reactor.netty.http.websocket.WebsocketOutbound outbound, HandshakeInfo info, NettyDataBufferFactory bufferFactory, int maxFramePayloadLength) Constructor with an additional maxFramePayloadLength argument.StandardWebSocketSession
(Session session, HandshakeInfo info, DataBufferFactory factory) StandardWebSocketSession
(Session session, HandshakeInfo info, DataBufferFactory factory, reactor.core.publisher.Sinks.Empty<Void> completionSink) TomcatWebSocketSession
(Session session, HandshakeInfo info, DataBufferFactory factory) TomcatWebSocketSession
(Session session, HandshakeInfo info, DataBufferFactory factory, reactor.core.publisher.Sinks.Empty<Void> completionSink) UndertowWebSocketSession
(io.undertow.websockets.core.WebSocketChannel channel, HandshakeInfo info, DataBufferFactory factory) UndertowWebSocketSession
(io.undertow.websockets.core.WebSocketChannel channel, HandshakeInfo info, DataBufferFactory factory, reactor.core.publisher.Sinks.Empty<Void> completionSink) -
Uses of HandshakeInfo in org.springframework.web.reactive.socket.client
Modifier and TypeMethodDescriptionprotected StandardWebSocketSession
StandardWebSocketClient.createWebSocketSession
(Session session, HandshakeInfo info, reactor.core.publisher.Sinks.Empty<Void> completionSink) protected StandardWebSocketSession
TomcatWebSocketClient.createWebSocketSession
(Session session, HandshakeInfo info, reactor.core.publisher.Sinks.Empty<Void> completionSink) -
Uses of HandshakeInfo in org.springframework.web.reactive.socket.server
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
RequestUpgradeStrategy.upgrade
(ServerWebExchange exchange, WebSocketHandler webSocketHandler, String subProtocol, Supplier<HandshakeInfo> handshakeInfoFactory) Upgrade to a WebSocket session and handle it with the given handler. -
Uses of HandshakeInfo in org.springframework.web.reactive.socket.server.upgrade
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
JettyRequestUpgradeStrategy.upgrade
(ServerWebExchange exchange, WebSocketHandler handler, String subProtocol, Supplier<HandshakeInfo> handshakeInfoFactory) reactor.core.publisher.Mono<Void>
ReactorNetty2RequestUpgradeStrategy.upgrade
(ServerWebExchange exchange, WebSocketHandler handler, String subProtocol, Supplier<HandshakeInfo> handshakeInfoFactory) reactor.core.publisher.Mono<Void>
ReactorNettyRequestUpgradeStrategy.upgrade
(ServerWebExchange exchange, WebSocketHandler handler, String subProtocol, Supplier<HandshakeInfo> handshakeInfoFactory) reactor.core.publisher.Mono<Void>
StandardWebSocketUpgradeStrategy.upgrade
(ServerWebExchange exchange, WebSocketHandler handler, String subProtocol, Supplier<HandshakeInfo> handshakeInfoFactory) reactor.core.publisher.Mono<Void>
UndertowRequestUpgradeStrategy.upgrade
(ServerWebExchange exchange, WebSocketHandler handler, String subProtocol, Supplier<HandshakeInfo> handshakeInfoFactory)