@Configuration public class DelegatingWebSocketConfiguration extends WebSocketConfigurationSupport
WebSocketConfigurationSupport
that detects implementations of
WebSocketConfigurer
in Spring configuration and invokes them in order to
configure WebSocket request handling.Constructor and Description |
---|
DelegatingWebSocketConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected void |
registerWebSocketHandlers(WebSocketHandlerRegistry registry) |
void |
setConfigurers(List<WebSocketConfigurer> configurers) |
defaultSockJsTaskScheduler, webSocketHandlerMapping
@Autowired(required=false) public void setConfigurers(List<WebSocketConfigurer> configurers)
protected void registerWebSocketHandlers(WebSocketHandlerRegistry registry)
registerWebSocketHandlers
in class WebSocketConfigurationSupport