Uses of Interface
org.springframework.web.reactive.socket.WebSocketHandler
Package
Description
Classes adapting Spring's Reactive WebSocket API to and from WebSocket runtimes.
Client support for WebSocket interactions.
Server support for WebSocket interactions.
Server-side support classes for WebSocket requests.
Holds implementations of
RequestUpgradeStrategy
.-
Uses of WebSocketHandler in org.springframework.web.reactive.socket.adapter
Modifier and TypeClassDescriptionfinal class
WebSocketHandler
decorator that enriches the context of the target handler.Modifier and TypeMethodDescriptionstatic WebSocketHandler
ContextWebSocketHandler.decorate
(WebSocketHandler handler, reactor.util.context.ContextView contextView) Return the given handler, decorated to insert the given context, or the same handler instance when the context is empty.Modifier and TypeMethodDescriptionstatic WebSocketHandler
ContextWebSocketHandler.decorate
(WebSocketHandler handler, reactor.util.context.ContextView contextView) Return the given handler, decorated to insert the given context, or the same handler instance when the context is empty.ModifierConstructorDescriptionJettyWebSocketHandlerAdapter
(WebSocketHandler handler, Function<org.eclipse.jetty.websocket.api.Session, JettyWebSocketSession> sessionFactory) StandardWebSocketHandlerAdapter
(WebSocketHandler handler, Function<Session, StandardWebSocketSession> sessionFactory) -
Uses of WebSocketHandler in org.springframework.web.reactive.socket.client
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
JettyWebSocketClient.execute
(URI url, HttpHeaders headers, WebSocketHandler handler) reactor.core.publisher.Mono<Void>
JettyWebSocketClient.execute
(URI url, WebSocketHandler handler) reactor.core.publisher.Mono<Void>
ReactorNetty2WebSocketClient.execute
(URI url, HttpHeaders requestHeaders, WebSocketHandler handler) reactor.core.publisher.Mono<Void>
ReactorNetty2WebSocketClient.execute
(URI url, WebSocketHandler handler) reactor.core.publisher.Mono<Void>
ReactorNettyWebSocketClient.execute
(URI url, HttpHeaders requestHeaders, WebSocketHandler handler) reactor.core.publisher.Mono<Void>
ReactorNettyWebSocketClient.execute
(URI url, WebSocketHandler handler) reactor.core.publisher.Mono<Void>
StandardWebSocketClient.execute
(URI url, HttpHeaders headers, WebSocketHandler handler) reactor.core.publisher.Mono<Void>
StandardWebSocketClient.execute
(URI url, WebSocketHandler handler) reactor.core.publisher.Mono<Void>
UndertowWebSocketClient.execute
(URI url, HttpHeaders headers, WebSocketHandler handler) reactor.core.publisher.Mono<Void>
UndertowWebSocketClient.execute
(URI url, WebSocketHandler handler) reactor.core.publisher.Mono<Void>
WebSocketClient.execute
(URI url, HttpHeaders headers, WebSocketHandler handler) A variant ofWebSocketClient.execute(URI, WebSocketHandler)
with custom headers.reactor.core.publisher.Mono<Void>
WebSocketClient.execute
(URI url, WebSocketHandler handler) Execute a handshake request to the given url and handle the resulting WebSocket session with the given handler. -
Uses of WebSocketHandler in org.springframework.web.reactive.socket.server
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
WebSocketService.handleRequest
(ServerWebExchange exchange, WebSocketHandler webSocketHandler) Handle the request with the givenWebSocketHandler
.reactor.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 WebSocketHandler in org.springframework.web.reactive.socket.server.support
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
HandshakeWebSocketService.handleRequest
(ServerWebExchange exchange, WebSocketHandler handler) -
Uses of WebSocketHandler 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)