public interface BaseFilter
| Modifier and Type | Interface and Description |
|---|---|
static interface |
BaseFilter.Listener
This callback listener applies to both synchronous and asynchronous calls, please put logics that need to be executed
on return of rpc result in onResponse or onError respectively based on it is normal return or exception return.
|
| Modifier and Type | Method and Description |
|---|---|
Result |
invoke(Invoker<?> invoker,
Invocation invocation)
Always call invoker.invoke() in the implementation to hand over the request to the next filter node.
|
Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException
RpcExceptionCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.