@SPI public interface Filter
| Modifier and Type | Method and Description |
|---|---|
Result |
invoke(Invoker<?> invoker,
Invocation invocation)
do invoke filter.
|
Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException
// before filter
Result result = invoker.invoke(invocation);
// after filter
return result;
invoker - serviceinvocation - invocation.RpcExceptionInvoker.invoke(Invocation)Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.