Class WebSocketConfig

  • All Implemented Interfaces:
    org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer

    @Configuration
    @EnableWebSocketMessageBroker
    public class WebSocketConfig
    extends Object
    implements org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
    • Constructor Summary

      Constructors 
      Constructor Description
      WebSocketConfig()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configureMessageBroker​(org.springframework.messaging.simp.config.MessageBrokerRegistry config)  
      void registerStompEndpoints​(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)  
      • Methods inherited from interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer

        addArgumentResolvers, addReturnValueHandlers, configureClientInboundChannel, configureClientOutboundChannel, configureMessageConverters, configureWebSocketTransport
    • Constructor Detail

      • WebSocketConfig

        public WebSocketConfig()
    • Method Detail

      • configureMessageBroker

        public void configureMessageBroker​(org.springframework.messaging.simp.config.MessageBrokerRegistry config)
        Specified by:
        configureMessageBroker in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
      • registerStompEndpoints

        public void registerStompEndpoints​(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
        Specified by:
        registerStompEndpoints in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer