3 import org.springframework.beans.factory.annotation.Autowired;
4 import org.springframework.context.annotation.Configuration;
5 import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
6 import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
10 public class DemoWebMvcConfigurer implements WebMvcConfigurer
13 BackendVersionInterceptor backendVersionInterceptor;
17 public void addInterceptors(InterceptorRegistry registry)
19 registry.addInterceptor(backendVersionInterceptor);