Annotation Interface Interceptor
Declarative interceptor configuration
- 从以下版本开始:
- 2018-11-17 21:23
- 作者:
- TODAY
-
可选元素概要
可选元素修饰符和类型可选元素说明Class<? extends HandlerInterceptor>[]ExcludeHandlerInterceptorString[]Exclude HandlerInterceptor from bean's nameClass<? extends HandlerInterceptor>[]configure InterceptorsString[]configure Interceptors, use bean's nameClass<? extends HandlerInterceptor>[]configure Interceptors
-
元素详细资料
-
value
configure InterceptorsThe order of interceptors execution is related to the position of the interceptor
- 默认值:
- {}
-
include
configure InterceptorsThe order of interceptors execution is related to the position of the interceptor
- 默认值:
- {}
-
includeNames
String[] includeNamesconfigure Interceptors, use bean's nameThe order of interceptors execution is related to the position of the interceptor
this config add after
include()- 默认值:
- {}
-
exclude
Class<? extends HandlerInterceptor>[] excludeExcludeHandlerInterceptor- 默认值:
- {}
-
excludeNames
String[] excludeNamesExclude HandlerInterceptor from bean's name- 默认值:
- {}
-