## Uses of Interface
org.springframework.web.socket.config.annotation.WebSocketHandlerRegistration

Packages that use WebSocketHandlerRegistration
org.springframework.web.socket.config.annotation: Support for annotation-based WebSocket setup in configuration classes.

### Uses of WebSocketHandlerRegistration in org.springframework.web.socket.config.annotation

Classes in org.springframework.web.socket.config.annotation that implement WebSocketHandlerRegistration
`class` `AbstractWebSocketHandlerRegistration<M>` Base class for `WebSocketHandlerRegistrations` that gathers all the configuration options but allows sub-classes to put together the actual HTTP request mappings.
`class` `ServletWebSocketHandlerRegistration` A helper class for configuring `WebSocketHandler` request handling including SockJS fallback options.

Methods in org.springframework.web.socket.config.annotation that return WebSocketHandlerRegistration
`WebSocketHandlerRegistration` WebSocketHandlerRegistration.`addHandler(WebSocketHandler handler, String... paths)` Add more handlers that will share the same configuration (interceptors, SockJS config, etc).
`WebSocketHandlerRegistration` ServletWebSocketHandlerRegistry.`addHandler(WebSocketHandler handler, String... paths)`
`WebSocketHandlerRegistration` WebSocketHandlerRegistry.`addHandler(WebSocketHandler webSocketHandler, String... paths)` Configure a WebSocketHandler at the specified URL paths.
`WebSocketHandlerRegistration` AbstractWebSocketHandlerRegistration.`addHandler(WebSocketHandler handler, String... paths)`
`WebSocketHandlerRegistration` WebSocketHandlerRegistration.`addInterceptors(HandshakeInterceptor... interceptors)` Configure interceptors for the handshake request.
`WebSocketHandlerRegistration` AbstractWebSocketHandlerRegistration.`addInterceptors(HandshakeInterceptor... interceptors)`
`WebSocketHandlerRegistration` WebSocketHandlerRegistration.`setAllowedOrigins(String... origins)` Configure allowed `Origin` header values.
`WebSocketHandlerRegistration` AbstractWebSocketHandlerRegistration.`setAllowedOrigins(String... allowedOrigins)`
`WebSocketHandlerRegistration` WebSocketHandlerRegistration.`setHandshakeHandler(HandshakeHandler handshakeHandler)` Configure the HandshakeHandler to use.
`WebSocketHandlerRegistration` AbstractWebSocketHandlerRegistration.`setHandshakeHandler(HandshakeHandler handshakeHandler)`