public abstract class AbstractInterceptor<T extends java.lang.annotation.Annotation> extends java.lang.Object implements Interceptor
| 构造器和说明 |
|---|
AbstractInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object |
doIntercept(Invocation inv)
拦截
|
abstract java.lang.Class<T> |
type()
注解类型
|
abstract Result |
verify(T anno,
Invocation inv)
验证
|
public java.lang.Object doIntercept(Invocation inv) throws java.lang.Throwable
InterceptordoIntercept 在接口中 Interceptorinv - 调用者java.lang.Throwablepublic abstract java.lang.Class<T> type()
public abstract Result verify(T anno, Invocation inv) throws java.lang.Exception
java.lang.Exception