接口的使用
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中的类 修饰符和类型 类 说明 classServletWebSocketHandlerRegistryWebSocketHandlerRegistrywith Spring MVC handler mappings for the handshake requests.参数类型为WebSocketHandlerRegistry的org.springframework.web.socket.config.annotation中的方法 修饰符和类型 方法 说明 protected voidDelegatingWebSocketConfiguration. registerWebSocketHandlers(WebSocketHandlerRegistry registry)protected voidWebSocketConfigurationSupport. registerWebSocketHandlers(WebSocketHandlerRegistry registry)voidregisterWebSocketHandlers(WebSocketHandlerRegistry registry) RegisterWebSocketHandlersincluding SockJS fallback options if desired.