@Activate(group="provider", order=-20000) public class GenericFilter extends Object implements Filter, Filter.Listener
Filter.Listener| 构造器和说明 |
|---|
GenericFilter() |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
invoke(Invoker<?> invoker,
Invocation inv)
Make sure call invoker.invoke() in your implementation.
|
void |
onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
onResponse(Result appResponse,
Invoker<?> invoker,
Invocation inv) |
public Result invoke(Invoker<?> invoker, Invocation inv) throws RpcException
Filterinvoke 在接口中 FilterRpcExceptionpublic void onResponse(Result appResponse, Invoker<?> invoker, Invocation inv)
onResponse 在接口中 Filter.Listenerpublic void onError(Throwable t, Invoker<?> invoker, Invocation invocation)
onError 在接口中 Filter.ListenerCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.