类 WebSocketAutoConfiguration

java.lang.Object
com.sie.mbm.mom.framework.websocket.config.WebSocketAutoConfiguration

@Import(WebSocketHandlerConfig.class) @EnableWebSocket @EnableScheduling public class WebSocketAutoConfiguration extends Object
websocket自动配置
  • 字段详细资料

  • 构造器详细资料

    • WebSocketAutoConfiguration

      public WebSocketAutoConfiguration()
  • 方法详细资料

    • webSocketConfigurer

      @Bean @ConditionalOnMissingBean public org.springframework.web.socket.config.annotation.WebSocketConfigurer webSocketConfigurer(List<org.springframework.web.socket.server.HandshakeInterceptor> handshakeInterceptor, org.springframework.web.socket.WebSocketHandler webSocketHandler)
    • initJsonMessageHandlerHolder

      @PostConstruct public void initJsonMessageHandlerHolder()
      初始化时将所有的jsonMessageHandler注册到JsonMessageHandlerHolder中