Package tools.dynamia.zk.websocket
Class WebSocketGlobalCommandConfig
- java.lang.Object
-
- tools.dynamia.zk.websocket.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 Summary
Constructors Constructor Description WebSocketGlobalCommandConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.web.socket.WebSocketHandlerglobalCommandHandler()voidregisterWebSocketHandlers(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry registry)
-
-
-
Method Detail
-
registerWebSocketHandlers
public void registerWebSocketHandlers(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry registry)
- Specified by:
registerWebSocketHandlersin interfaceorg.springframework.web.socket.config.annotation.WebSocketConfigurer
-
globalCommandHandler
@Bean public org.springframework.web.socket.WebSocketHandler globalCommandHandler()
-
-