Uses of Interface
org.springframework.web.reactive.socket.WebSocketHandler
Packages that use 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
Classes in org.springframework.web.reactive.socket.adapter that implement WebSocketHandlerModifier and TypeClassDescriptionfinal class
WebSocketHandler
decorator that enriches the context of the target handler.Methods in org.springframework.web.reactive.socket.adapter that return WebSocketHandlerModifier 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.Methods in org.springframework.web.reactive.socket.adapter with parameters of type WebSocketHandlerModifier 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.Constructors in org.springframework.web.reactive.socket.adapter with parameters of type WebSocketHandlerModifierConstructorDescriptionJettyWebSocketHandlerAdapter
(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
Methods in org.springframework.web.reactive.socket.client with parameters of type WebSocketHandlerModifier 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
Methods in org.springframework.web.reactive.socket.server with parameters of type WebSocketHandlerModifier 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
Methods in org.springframework.web.reactive.socket.server.support with parameters of type WebSocketHandlerModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
HandshakeWebSocketService.handleRequest
(ServerWebExchange exchange, WebSocketHandler handler) -
Uses of WebSocketHandler in org.springframework.web.reactive.socket.server.upgrade
Methods in org.springframework.web.reactive.socket.server.upgrade with parameters of type WebSocketHandlerModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
JettyCoreRequestUpgradeStrategy.upgrade
(ServerWebExchange exchange, WebSocketHandler handler, String subProtocol, Supplier<HandshakeInfo> handshakeInfoFactory) reactor.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)