Class WebSocketGlobalCommandConfig

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

    @Configuration
    @EnableWebSocket
    public class WebSocketGlobalCommandConfig
    extends Object
    implements org.springframework.web.socket.config.annotation.WebSocketConfigurer
    • Constructor Detail

      • WebSocketGlobalCommandConfig

        public WebSocketGlobalCommandConfig()
    • Method Detail

      • registerWebSocketHandlers

        public void registerWebSocketHandlers​(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry registry)
        Specified by:
        registerWebSocketHandlers in interface org.springframework.web.socket.config.annotation.WebSocketConfigurer
      • globalCommandHandler

        @Bean
        public org.springframework.web.socket.WebSocketHandler globalCommandHandler()