类的使用
cn.taketoday.web.config.InterceptorRegistration
使用InterceptorRegistration的程序包
-
cn.taketoday.web.config中InterceptorRegistration的使用
类型参数类型为InterceptorRegistration的cn.taketoday.web.config中的字段修饰符和类型方法说明InterceptorRegistry.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...).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.