public class InterceptorEntity<C,R> extends Object implements Interceptor<C,R>
| Constructor and Description |
|---|
InterceptorEntity(int index,
Interceptor<C,R> real) |
| Modifier and Type | Method and Description |
|---|---|
void |
doIntercept(Payload<C,R> payload,
InterceptorChain<C,R> chain)
拦截
|
int |
getIndex()
获取顺序位
|
Interceptor<C,R> |
getReal()
获取原拦截器
|
public InterceptorEntity(int index,
Interceptor<C,R> real)
public int getIndex()
public Interceptor<C,R> getReal()
public void doIntercept(Payload<C,R> payload, InterceptorChain<C,R> chain)
doIntercept in interface Interceptor<C,R>payload - 事件负载chain - 拦截链Copyright © 2025. All rights reserved.