Package org.powertac.visualizer.config
Class WebsocketConfiguration
- java.lang.Object
-
- org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
-
- org.powertac.visualizer.config.WebsocketConfiguration
-
- All Implemented Interfaces:
org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
@Configuration @EnableWebSocketMessageBroker public class WebsocketConfiguration extends org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
-
-
Field Summary
Fields Modifier and Type Field Description static String
IP_ADDRESS
-
Constructor Summary
Constructors Constructor Description WebsocketConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
IP_ADDRESS
public static final String IP_ADDRESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
configureClientOutboundChannel
public void configureClientOutboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)
- Specified by:
configureClientOutboundChannel
in interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
- Overrides:
configureClientOutboundChannel
in classorg.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
-
configureMessageBroker
public void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry config)
- Specified by:
configureMessageBroker
in interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
- Overrides:
configureMessageBroker
in classorg.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
-
registerStompEndpoints
public void registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
-
httpSessionHandshakeInterceptor
@Bean public org.springframework.web.socket.server.HandshakeInterceptor httpSessionHandshakeInterceptor()
-
-