类 WebSocketAutoConfiguration
java.lang.Object
com.sie.mbm.mom.framework.websocket.config.WebSocketAutoConfiguration
@Import(WebSocketHandlerConfig.class)
@EnableWebSocket
@EnableScheduling
public class WebSocketAutoConfiguration
extends Object
websocket自动配置
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void初始化时将所有的jsonMessageHandler注册到JsonMessageHandlerHolder中org.springframework.web.socket.config.annotation.WebSocketConfigurerwebSocketConfigurer(List<org.springframework.web.socket.server.HandshakeInterceptor> handshakeInterceptor, org.springframework.web.socket.WebSocketHandler webSocketHandler)
-
字段详细资料
-
webSocketProperties
-
jsonMessageHandlerList
-
-
构造器详细资料
-
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中
-