- addInterceptors(InterceptorRegistry) - 类 中的方法cn.jdevelops.util.interceptor.core.JdevelopsWebMvcConfig
-
- after(HttpServletRequest, HttpServletResponse, Object, ModelAndView) - 接口 中的方法cn.jdevelops.util.interceptor.api.ApiAfterInterceptor
-
后置处理类(在controller方法执行之后执行)
- postHandle
- after(HttpServletRequest, HttpServletResponse, Object, ModelAndView) - 接口 中的方法cn.jdevelops.util.interceptor.api.ApiInterceptor
-
后置处理类(在controller方法执行之后执行)
- postHandle
- ApiAfterInterceptor - cn.jdevelops.util.interceptor.api中的接口
-
自定义的接口后置拦截器 - 模仿 HandlerInterceptor
before -> after -> afterCompletion
- ApiAfterInterceptorChain - cn.jdevelops.util.interceptor.chain中的类
-
后置拦截器责任链
- 交给spring管理
- ApiAfterInterceptorChain(List<ApiAfterInterceptor>) - 类 的构造器cn.jdevelops.util.interceptor.chain.ApiAfterInterceptorChain
-
- ApiAsyncInterceptor - cn.jdevelops.util.interceptor.api中的接口
-
拦截异步处理请求 - 模仿 AsyncHandlerInterceptor
- ApiAsyncInterceptorChain - cn.jdevelops.util.interceptor.chain中的类
-
异步拦截器责任链
- 交给spring管理
- ApiAsyncInterceptorChain(List<ApiAsyncInterceptor>) - 类 的构造器cn.jdevelops.util.interceptor.chain.ApiAsyncInterceptorChain
-
- ApiBeforeInterceptor - cn.jdevelops.util.interceptor.api中的接口
-
自定义的接口前置拦截器 - 模仿 HandlerInterceptor
before -> after -> afterCompletion
- ApiBeforeInterceptorChain - cn.jdevelops.util.interceptor.chain中的类
-
前置拦截器责任链
- 交给spring管理
- ApiBeforeInterceptorChain(List<ApiBeforeInterceptor>) - 类 的构造器cn.jdevelops.util.interceptor.chain.ApiBeforeInterceptorChain
-
- ApiFinallyInterceptor - cn.jdevelops.util.interceptor.api中的接口
-
自定义的接口整个请求处理完毕拦截器 - 模仿 HandlerInterceptor
before -> after -> afterCompletion
- ApiFinallyInterceptorChain - cn.jdevelops.util.interceptor.chain中的类
-
自定义的接口整个请求处理完毕拦截器责任链
- 交给spring管理
- ApiFinallyInterceptorChain(List<ApiFinallyInterceptor>) - 类 的构造器cn.jdevelops.util.interceptor.chain.ApiFinallyInterceptorChain
-
- ApiInterceptor - cn.jdevelops.util.interceptor.api中的接口
-
自定义的接口后置拦截器 - 模仿 HandlerInterceptor
before -> after -> afterCompletion
- ApiInterceptorChain - cn.jdevelops.util.interceptor.chain中的类
-
自定义的接口后置拦截器责任链
- 交给spring管理
- ApiInterceptorChain(List<ApiInterceptor>) - 类 的构造器cn.jdevelops.util.interceptor.chain.ApiInterceptorChain
-
- async(HttpServletRequest, HttpServletResponse, Object) - 接口 中的方法cn.jdevelops.util.interceptor.api.ApiAsyncInterceptor
-
异步请求的拦截
- afterConcurrentHandlingStarted