@Configuration
@EnableWebSocket
public class WebSocketConfig
extends java.lang.Object
implements org.springframework.web.socket.config.annotation.WebSocketConfigurer
| Constructor and Description |
|---|
WebSocketConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
registerWebSocketHandlers(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry registry) |
org.springframework.web.socket.handler.TextWebSocketHandler |
systemWebSocketHandler() |
public void registerWebSocketHandlers(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry registry)
registerWebSocketHandlers in interface org.springframework.web.socket.config.annotation.WebSocketConfigurer@Bean(name="customSystemWebSocketHandler") public org.springframework.web.socket.handler.TextWebSocketHandler systemWebSocketHandler()