spring-framework / org.springframework.web.socket.config.annotation / DelegatingWebSocketMessageBrokerConfiguration

DelegatingWebSocketMessageBrokerConfiguration

@Configuration open class DelegatingWebSocketMessageBrokerConfiguration : WebSocketMessageBrokerConfigurationSupport

A WebSocketMessageBrokerConfigurationSupport extension that detects beans of type WebSocketMessageBrokerConfigurer and delegates to all of them allowing callback style customization of the configuration provided in WebSocketMessageBrokerConfigurationSupport.

This class is typically imported via EnableWebSocketMessageBroker.

Author
Rossen Stoyanchev

Since
4.0

Constructors

<init>

DelegatingWebSocketMessageBrokerConfiguration()

A WebSocketMessageBrokerConfigurationSupport extension that detects beans of type WebSocketMessageBrokerConfigurer and delegates to all of them allowing callback style customization of the configuration provided in WebSocketMessageBrokerConfigurationSupport.

This class is typically imported via EnableWebSocketMessageBroker.

Functions

setConfigurers

open fun setConfigurers(configurers: MutableList<WebSocketMessageBrokerConfigurer>): Unit

Inherited Functions

stompWebSocketHandlerMapping

open fun stompWebSocketHandlerMapping(): HandlerMapping

subProtocolWebSocketHandler

open fun subProtocolWebSocketHandler(): WebSocketHandler

webSocketMessageBrokerStats

open fun webSocketMessageBrokerStats(): WebSocketMessageBrokerStats

webSocketScopeConfigurer

open static fun webSocketScopeConfigurer(): CustomScopeConfigurer