public interface SeimiInterceptor
| Modifier and Type | Method and Description |
|---|---|
void |
after(Method method,
Response response)
可以在目标方法执行之后定义一些处理逻辑
|
void |
before(Method method,
Response response)
可以在目标方法执行之前定义一些处理逻辑
|
Class<? extends Annotation> |
getTargetAnnotationClass()
获取目标方法应标记的注解
|
int |
getWeight()
当需要控制多个拦截器执行的先后顺序时可以重写这个方法
|
Class<? extends Annotation> getTargetAnnotationClass()
int getWeight()
Copyright © 2015. All Rights Reserved.