Class ApplicationAutoConfiguration.SockJSWebSocketConfigurer

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

    @Configuration(proxyBeanMethods=false)
    @EnableWebSocket
    @ConditionalOnProperty(prefix="dialob.session.sockjs",
                           name="webSocketEnabled",
                           havingValue="true")
    public static class ApplicationAutoConfiguration.SockJSWebSocketConfigurer
    extends Object
    implements org.springframework.web.socket.config.annotation.WebSocketConfigurer
    • Constructor Detail

      • SockJSWebSocketConfigurer

        public SockJSWebSocketConfigurer​(DialobSettings settings,
                                         org.springframework.web.socket.WebSocketHandler perConnectionWebSocketHandler,
                                         org.springframework.scheduling.TaskScheduler taskScheduler)
    • Method Detail

      • registerWebSocketHandlers

        public void registerWebSocketHandlers​(@NonNull
                                              org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry webSocketHandlerRegistry)
        Specified by:
        registerWebSocketHandlers in interface org.springframework.web.socket.config.annotation.WebSocketConfigurer
      • createWebSocketContainer

        @Bean
        public org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean createWebSocketContainer()