Uses of Class
org.springframework.web.servlet.config.annotation.InterceptorRegistration
Packages that use InterceptorRegistration
Package
Description
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 InterceptorRegistrationModifier and TypeMethodDescriptionInterceptorRegistry.addInterceptor(HandlerInterceptor interceptor) Adds the providedHandlerInterceptor.InterceptorRegistration.addPathPatterns(String... patterns) Add patterns for URLs the interceptor should be included in.InterceptorRegistration.addPathPatterns(List<String> patterns) List-based variant ofaddPathPatterns(String...).InterceptorRegistry.addWebRequestInterceptor(WebRequestInterceptor interceptor) Adds the providedWebRequestInterceptor.InterceptorRegistration.excludePathPatterns(String... patterns) Add patterns for URLs the interceptor should be excluded from.InterceptorRegistration.excludePathPatterns(List<String> patterns) List-based variant ofexcludePathPatterns(String...).InterceptorRegistration.order(int order) Specify an order position to be used.InterceptorRegistration.pathMatcher(PathMatcher pathMatcher) Configure the PathMatcher to use to match URL paths with against include and exclude patterns.