Class DelegatingWebSocketConfiguration
java.lang.Object
org.springframework.web.socket.config.annotation.WebSocketConfigurationSupport
org.springframework.web.socket.config.annotation.DelegatingWebSocketConfiguration
@Configuration(proxyBeanMethods=false)
public class DelegatingWebSocketConfiguration
extends WebSocketConfigurationSupport
A variation of
WebSocketConfigurationSupport
that detects implementations of
WebSocketConfigurer
in Spring configuration and invokes them in order to
configure WebSocket request handling.- Since:
- 4.0
- Author:
- Rossen Stoyanchev, Sebastien Deleuze
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
setConfigurers
(List<WebSocketConfigurer> configurers) Methods inherited from class org.springframework.web.socket.config.annotation.WebSocketConfigurationSupport
defaultSockJsTaskScheduler, webSocketHandlerMapping
-
Constructor Details
-
DelegatingWebSocketConfiguration
public DelegatingWebSocketConfiguration()
-
-
Method Details
-
setConfigurers
-
registerWebSocketHandlers
- Overrides:
registerWebSocketHandlers
in classWebSocketConfigurationSupport
-