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