Top Description Fields Constructors Methods
org.springframework.web.socket.config.annotation

public Class DelegatingWebSocketConfiguration

extends WebSocketConfigurationSupport
Class Inheritance
Annotations
@Configuration
proxyBeanMethods:false
Imports
java.util.ArrayList, .List, org.springframework.beans.factory.annotation.Autowired, org.springframework.context.annotation.Configuration, org.springframework.util.CollectionUtils

A variation of WebSocketConfigurationSupport that detects implementations of WebSocketConfigurer in Spring configuration and invokes them in order to configure WebSocket request handling.
Authors
Rossen Stoyanchev, Sebastien Deleuze
Since
4.0

Field Summary

Modifier and TypeField and Description
private final List<WebSocketConfigurer>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
public void
Inherited from org.springframework.web.socket.config.annotation.WebSocketConfigurationSupport:
defaultSockJsSchedulerContainerwebSocketHandlerMapping

Field Detail

configurersback to summary
private final List<WebSocketConfigurer> configurers

Constructor Detail

DelegatingWebSocketConfigurationback to summary
public DelegatingWebSocketConfiguration()

Method Detail

registerWebSocketHandlersback to summary
protected void registerWebSocketHandlers(WebSocketHandlerRegistry registry)

Overrides org.springframework.web.socket.config.annotation.WebSocketConfigurationSupport.registerWebSocketHandlers.

Annotations
@Override
setConfigurersback to summary
public void setConfigurers(List<WebSocketConfigurer> configurers)
Annotations
@Autowired
required:false