@Configuration
public class h implements WebMvcConfigurer {
@Autowired
headhead;
@Override
public void addInterceptors(InterceptorRegistry registry){
registry.addInterceptor(head).excludePathPatterns("*");
WebMvcConfigurer.super.addInterceptors(registry);}}