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(String... patterns)
Add URL patterns to which the registered interceptor should apply to.
|
InterceptorRegistration |
InterceptorRegistry.addWebRequestInterceptor(WebRequestInterceptor interceptor)
Adds the provided
WebRequestInterceptor . |
InterceptorRegistration |
InterceptorRegistration.excludePathPatterns(String... patterns)
Add URL patterns to which the registered interceptor should not apply to.
|
Copyright © 2015. All rights reserved.