Uses of Class
org.springframework.web.servlet.config.annotation.InterceptorRegistration
Packages that use InterceptorRegistration Package Description org.springframework.web.servlet.config.annotation Annotation-based setup for Spring MVC.Uses of InterceptorRegistration in org.springframework.web.servlet.config.annotation
Methods in org.springframework.web.servlet.config.annotation that return InterceptorRegistration Modifier and Type Method Description InterceptorRegistration
InterceptorRegistry. addInterceptor(HandlerInterceptor interceptor)
Adds the providedHandlerInterceptor
.InterceptorRegistration
InterceptorRegistration. addPathPatterns(String... patterns)
Add URL patterns to which the registered interceptor should apply to.InterceptorRegistration
InterceptorRegistration. addPathPatterns(List<String> patterns)
List-based variant ofaddPathPatterns(String...)
.InterceptorRegistration
InterceptorRegistry. addWebRequestInterceptor(WebRequestInterceptor interceptor)
Adds the providedWebRequestInterceptor
.InterceptorRegistration
InterceptorRegistration. excludePathPatterns(String... patterns)
Add URL patterns to which the registered interceptor should not apply to.InterceptorRegistration
InterceptorRegistration. excludePathPatterns(List<String> patterns)
List-based variant ofexcludePathPatterns(String...)
.InterceptorRegistration
InterceptorRegistration. order(int order)
Specify an order position to be used.InterceptorRegistration
InterceptorRegistration. pathMatcher(PathMatcher pathMatcher)
A PathMatcher implementation to use with this interceptor.