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.
| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| protected void | configureClientInboundChannel(ChannelRegistration registration)
A hook for subclasses to customize the message channel for inbound messages from WebSocket clients. |
| protected void | configureClientOutboundChannel(ChannelRegistration registration)
A hook for subclasses to customize the message channel for messages from the application or message broker to WebSocket clients. |
| protected void | configureMessageBroker(MessageBrokerRegistry registry)
Overrides org. A hook for subclasses to customize message broker configuration through the
provided |
| protected boolean | configureMessageConverters(List<MessageConverter>
the list to add converters to, initially empty messageConverters)
Override this method to add custom message converters. |
| protected void | |
| protected int | |
| protected void | |
| public void |
| configurers | back to summary |
|---|---|
| private final List<WebSocketMessageBrokerConfigurer> configurers | |
| DelegatingWebSocketMessageBrokerConfiguration | back to summary |
|---|---|
| public DelegatingWebSocketMessageBrokerConfiguration() | |
| addArgumentResolvers | back to summary |
|---|---|
| protected void addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) Overrides org.
| |
| addReturnValueHandlers | back to summary |
|---|---|
| protected void addReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers) Overrides org.
| |
| configureClientInboundChannel | back to summary |
|---|---|
| protected void configureClientInboundChannel(ChannelRegistration registration) A hook for subclasses to customize the message channel for inbound messages from WebSocket clients.
| |
| configureClientOutboundChannel | back to summary |
|---|---|
| protected void configureClientOutboundChannel(ChannelRegistration registration) A hook for subclasses to customize the message channel for messages from the application or message broker to WebSocket clients.
| |
| configureMessageBroker | back to summary |
|---|---|
| protected void configureMessageBroker(MessageBrokerRegistry registry) Overrides org. Doc from org. A hook for subclasses to customize message broker configuration through the
provided
| |
| configureMessageConverters | back to summary |
|---|---|
| protected boolean configureMessageConverters(List<MessageConverter> messageConverters) Override this method to add custom message converters.
| |
| configureWebSocketTransport | back to summary |
|---|---|
protected void configureWebSocketTransport(WebSocketTransportRegistration registration)
| |
| initPhase | back to summary |
|---|---|
| protected int initPhase() Overrides org.
| |
| registerStompEndpoints | back to summary |
|---|---|
| protected void registerStompEndpoints(StompEndpointRegistry registry) Implements abstract org.
| |
| setConfigurers | back to summary |
|---|---|
public void setConfigurers(List<WebSocketMessageBrokerConfigurer> configurers)
| |