@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(java.util.List<WebSocketConfigurer> configurers) |
defaultSockJsTaskScheduler, webSocketHandlerMapping
@Autowired(required=false) public void setConfigurers(java.util.List<WebSocketConfigurer> configurers)
protected void registerWebSocketHandlers(WebSocketHandlerRegistry registry)
registerWebSocketHandlers
in class WebSocketConfigurationSupport