接口的使用
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中的类 修饰符和类型 类 说明 class
WebMvcStompEndpointRegistry
A registry for STOMP over WebSocket endpoints that maps the endpoints with aHandlerMapping
for use in Spring MVC.参数类型为StompEndpointRegistry的org.springframework.web.socket.config.annotation中的方法 修饰符和类型 方法 说明 protected void
DelegatingWebSocketMessageBrokerConfiguration. registerStompEndpoints(StompEndpointRegistry registry)
protected abstract void
WebSocketMessageBrokerConfigurationSupport. registerStompEndpoints(StompEndpointRegistry registry)
default void
WebSocketMessageBrokerConfigurer. registerStompEndpoints(StompEndpointRegistry registry)
Register STOMP endpoints mapping each to a specific URL and (optionally) enabling and configuring SockJS fallback options.