接口的使用
org.springframework.web.socket.config.annotation.StompEndpointRegistry
使用StompEndpointRegistry的程序包 程序包 说明 org.springframework.web.socket.config.annotation Support for annotation-based WebSocket setup in configuration classes.org.springframework.web.socket.config.annotation中StompEndpointRegistry的使用
实现StompEndpointRegistry的org.springframework.web.socket.config.annotation中的类 修饰符和类型 类 说明 classWebMvcStompEndpointRegistryA registry for STOMP over WebSocket endpoints that maps the endpoints with aHandlerMappingfor use in Spring MVC.参数类型为StompEndpointRegistry的org.springframework.web.socket.config.annotation中的方法 修饰符和类型 方法 说明 protected voidDelegatingWebSocketMessageBrokerConfiguration. registerStompEndpoints(StompEndpointRegistry registry)protected abstract voidWebSocketMessageBrokerConfigurationSupport. registerStompEndpoints(StompEndpointRegistry registry)default voidWebSocketMessageBrokerConfigurer. registerStompEndpoints(StompEndpointRegistry registry)Register STOMP endpoints mapping each to a specific URL and (optionally) enabling and configuring SockJS fallback options.