接口的使用
org.springframework.web.socket.config.annotation.WebSocketConfigurer
使用WebSocketConfigurer的程序包 程序包 说明 org.springframework.web.socket.config.annotation Support for annotation-based WebSocket setup in configuration classes.org.springframework.web.socket.config.annotation中WebSocketConfigurer的使用
类型变量类型为WebSocketConfigurer的org.springframework.web.socket.config.annotation中的方法参数 修饰符和类型 方法 说明 void
DelegatingWebSocketConfiguration. setConfigurers(List<WebSocketConfigurer> configurers)