Class WebSocketConfig

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

    @Configuration
    @EnableConfigurationProperties(WebSocketProperties.class)
    @EnableWebSocket
    public class WebSocketConfig
    extends Object
    implements org.springframework.web.socket.config.annotation.WebSocketConfigurer
    • Constructor Detail

      • WebSocketConfig

        public WebSocketConfig()
    • Method Detail

      • socketHandlerDecorator

        @Bean
        public org.springframework.web.socket.WebSocketHandler socketHandlerDecorator()
      • registerWebSocketHandlers

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