接口的使用
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中的类 修饰符和类型 类 说明 class
AbstractWebSocketHandlerRegistration<M>
Base class forWebSocketHandlerRegistrations
that gathers all the configuration options but allows sub-classes to put together the actual HTTP request mappings.class
ServletWebSocketHandlerRegistration
A helper class for configuringWebSocketHandler
request handling including SockJS fallback options.返回WebSocketHandlerRegistration的org.springframework.web.socket.config.annotation中的方法 修饰符和类型 方法 说明 WebSocketHandlerRegistration
AbstractWebSocketHandlerRegistration. addHandler(