Package org.springframework.web.reactive.socket.server.support
@NonNullApi
@NonNullFields
package org.springframework.web.reactive.socket.server.support
Server-side support classes for WebSocket requests.
-
ClassDescription
WebSocketService
implementation that handles a WebSocket HTTP handshake request by delegating to aRequestUpgradeStrategy
which is either auto-detected (no-arg constructor) from the classpath but can also be explicitly configured.HandlerAdapter
that allowsDispatcherHandler
to support handlers of typeWebSocketHandler
with such handlers mapped to URL patterns viaSimpleUrlHandlerMapping
.A predicate for use withAbstractUrlHandlerMapping.setHandlerPredicate(java.util.function.BiPredicate<java.lang.Object, org.springframework.web.server.ServerWebExchange>)
to ensure only WebSocket handshake requests are matched to handlers of typeWebSocketHandler
.