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.
-
ClassesClassDescription
WebSocketServiceimplementation that handles a WebSocket HTTP handshake request by delegating to aRequestUpgradeStrategywhich is either auto-detected (no-arg constructor) from the classpath but can also be explicitly configured.HandlerAdapterthat allowsDispatcherHandlerto support handlers of typeWebSocketHandlerwith 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.