接口的使用
org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry
使用WebSocketHandlerRegistry的程序包 程序包 说明 org.springframework.web.socket.config.annotation Support for annotation-based WebSocket setup in configuration classes.org.springframework.web.socket.config.annotation中WebSocketHandlerRegistry的使用
实现WebSocketHandlerRegistry的org.springframework.web.socket.config.annotation中的类 修饰符和类型 类 说明 class
ServletWebSocketHandlerRegistry
WebSocketHandlerRegistry
with Spring MVC handler mappings for the handshake requests.参数类型为WebSocketHandlerRegistry的org.springframework.web.socket.config.annotation中的方法 修饰符和类型 方法 说明 protected void
DelegatingWebSocketConfiguration. registerWebSocketHandlers(WebSocketHandlerRegistry registry)
protected void
WebSocketConfigurationSupport. registerWebSocketHandlers(WebSocketHandlerRegistry registry)
void
registerWebSocketHandlers(WebSocketHandlerRegistry registry) RegisterWebSocketHandlers
including SockJS fallback options if desired.