Package | Description |
---|---|
org.springframework.web.servlet.config.annotation |
Annotation-based setup for Spring MVC.
|
Modifier and Type | Method and Description |
---|---|
InterceptorRegistration |
InterceptorRegistry.addInterceptor(HandlerInterceptor interceptor)
Adds the provided
HandlerInterceptor . |
InterceptorRegistration |
InterceptorRegistration.addPathPatterns(java.lang.String... patterns)
Add URL patterns to which the registered interceptor should apply to.
|
InterceptorRegistration |
InterceptorRegistry.addWebRequestInterceptor(org.springframework.web.context.request.WebRequestInterceptor interceptor)
Adds the provided
WebRequestInterceptor . |
InterceptorRegistration |
InterceptorRegistration.excludePathPatterns(java.lang.String... patterns)
Add URL patterns to which the registered interceptor should not apply to.
|
InterceptorRegistration |
InterceptorRegistration.order(int order)
Specify an order position to be used.
|
InterceptorRegistration |
InterceptorRegistration.pathMatcher(org.springframework.util.PathMatcher pathMatcher)
A PathMatcher implementation to use with this interceptor.
|