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 Details

  • Constructor Details

  • Method Details

    • configureClientOutboundChannel

      public void configureClientOutboundChannel​(org.springframework.messaging.simp.config.ChannelRegistration registration)
      Specified by:
      configureClientOutboundChannel in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
      Overrides:
      configureClientOutboundChannel in class org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
    • configureMessageBroker

      public void configureMessageBroker​(org.springframework.messaging.simp.config.MessageBrokerRegistry config)
      Specified by:
      configureMessageBroker in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
      Overrides:
      configureMessageBroker in class org.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()