@Configuration
@EnableWebSocketMessageBroker
public class WebsocketConfiguration
extends org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
| Modifier and Type | Field and Description |
|---|---|
static String |
IP_ADDRESS |
| Constructor and Description |
|---|
WebsocketConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureClientOutboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration) |
void |
configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry config) |
org.springframework.web.socket.server.HandshakeInterceptor |
httpSessionHandshakeInterceptor() |
void |
registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry) |
public static final String IP_ADDRESS
public void configureClientOutboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)
configureClientOutboundChannel in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurerconfigureClientOutboundChannel in class org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurerpublic void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry config)
configureMessageBroker in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurerconfigureMessageBroker in class org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurerpublic void registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
@Bean public org.springframework.web.socket.server.HandshakeInterceptor httpSessionHandshakeInterceptor()
Copyright © 2019 Power TAC. All rights reserved.