类 InterceptorRegistry
java.lang.Object
cn.taketoday.web.config.InterceptorRegistry
Helps with configuring a list of mapped interceptors.
- 从以下版本开始:
- 4.0
- 作者:
- Rossen Stoyanchev, Keith Donald, TODAY 2021/8/30 21:43
-
字段概要
字段修饰符和类型字段说明private static final Comparator<Object>private final ArrayList<InterceptorRegistration> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addInterceptor(HandlerInterceptor interceptor) Adds the providedHandlerInterceptor.Return all registered interceptors.
-
字段详细资料
-
registrations
-
INTERCEPTOR_ORDER_COMPARATOR
-
-
构造器详细资料
-
InterceptorRegistry
public InterceptorRegistry()
-
-
方法详细资料
-
addInterceptor
Adds the providedHandlerInterceptor.- 参数:
interceptor- the interceptor to add- 返回:
- an
InterceptorRegistrationthat allows you optionally configure the registered interceptor further for example adding URL patterns it should apply to.
-
getInterceptors
Return all registered interceptors.
-