spring-framework / org.springframework.web.reactive.socket.server.support

Package org.springframework.web.reactive.socket.server.support

Types

HandshakeWebSocketService

open class HandshakeWebSocketService : WebSocketService, Lifecycle

WebSocketService implementation that handles a WebSocket HTTP handshake request by delegating to a RequestUpgradeStrategy which is either auto-detected (no-arg constructor) from the classpath but can also be explicitly configured.

WebSocketHandlerAdapter

open class WebSocketHandlerAdapter : HandlerAdapter

HandlerAdapter that allows using a WebSocketHandler with the generic DispatcherHandler mapping URLs directly to such handlers. Requests are handled by delegating to the configured WebSocketService which by default is HandshakeWebSocketService.