interceptor exclude

spring-boot 2022. 6. 9. 15:06


registry.addInterceptor(new ThymeleafLayoutInterceptor())
            .addPathPatterns("/**")
            .excludePathPatterns("/json/**", "/static/**");


https://stackoverflow.com/questions/54253476/spring-boot-interceptor-called-anyway-of-exclude-pattterns










'spring-boot' 카테고리의 다른 글

spring-boot 2.4 이상 변경사항  (0) 2022.07.26
listener 등록  (0) 2022.06.10
spring-boot cache with redis  (0) 2022.05.25
spring-boot without WAS  (0) 2022.05.16
RequestContextHolder 다른 스레드에서도 사용하는 법 - ThreadLocal  (0) 2022.04.20
Posted by 張's blog
,