public class InterceptorHelper
extends java.lang.Object
Email: fishinlove@163.com
created by 2019/04/14 14:52:08
| 构造器和说明 |
|---|
InterceptorHelper() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
after(Interceptor[] interceptors,
InterceptedMethod method)
完成一组拦截器的 after 方法
Invoke after method of these interceptors
|
static boolean |
afterReturning(Interceptor[] interceptors,
InterceptedMethod method)
完成一组拦截器的 afterReturning 方法
Invoke afterReturning method of these interceptors
|
static boolean |
afterThrowing(Interceptor[] interceptors,
InterceptedMethod method)
完成一组拦截器的 afterThrowing 方法
Invoke afterThrowing method of these interceptors
|
static boolean |
before(Interceptor[] interceptors,
InterceptedMethod method)
完成一组拦截器的 before 方法
Invoke before method of these interceptors
|
public static boolean before(Interceptor[] interceptors, InterceptedMethod method)
完成一组拦截器的 before 方法
Invoke before method of these interceptors
interceptors - 全部需要调用的拦截器
All interceptors that need to invoke
method - 拦截的具体方法信息
All infomation of intercepted method
true 全部执行完毕,false 反之
true if all interceptors invoke successfully, otherwise not
public static boolean after(Interceptor[] interceptors, InterceptedMethod method)
完成一组拦截器的 after 方法
Invoke after method of these interceptors
interceptors - 全部需要调用的拦截器
All interceptors that need to invoke
method - 拦截的具体方法信息
All infomation of intercepted method
true 全部执行完毕,false 反之
true if all interceptors invoke successfully, otherwise not
public static boolean afterThrowing(Interceptor[] interceptors, InterceptedMethod method)
完成一组拦截器的 afterThrowing 方法
Invoke afterThrowing method of these interceptors
interceptors - 全部需要调用的拦截器
All interceptors that need to invoke
method - 拦截的具体方法信息
All infomation of intercepted method
true 全部执行完毕,false 反之
true if all interceptors invoke successfully, otherwise not
public static boolean afterReturning(Interceptor[] interceptors, InterceptedMethod method)
完成一组拦截器的 afterReturning 方法
Invoke afterReturning method of these interceptors
interceptors - 全部需要调用的拦截器
All interceptors that need to invoke
method - 拦截的具体方法信息
All infomation of intercepted method
true 全部执行完毕,false 反之
true if all interceptors invoke successfully, otherwise not
Copyright © 2019. All Rights Reserved.