接口的使用
org.springframework.web.socket.config.annotation.WebSocketHandlerRegistration
使用WebSocketHandlerRegistration的程序包 程序包 说明 org.springframework.web.socket.config.annotation Support for annotation-based WebSocket setup in configuration classes.org.springframework.web.socket.config.annotation中WebSocketHandlerRegistration的使用
实现WebSocketHandlerRegistration的org.springframework.web.socket.config.annotation中的类 修饰符和类型 类 说明 classAbstractWebSocketHandlerRegistration<M>Base class forWebSocketHandlerRegistrationsthat gathers all the configuration options but allows sub-classes to put together the actual HTTP request mappings.classServletWebSocketHandlerRegistrationA helper class for configuringWebSocketHandlerrequest handling including SockJS fallback options.返回WebSocketHandlerRegistration的org.springframework.web.socket.config.annotation中的方法 修饰符和类型 方法 说明 WebSocketHandlerRegistrationAbstractWebSocketHandlerRegistration. addHandler(