接口 Filter
-
- 所有已知实现类:
AccessLogFilter
,ActiveLimitFilter
,CacheFilter
,ClassLoaderFilter
,CompatibleFilter
,ConsumerContextFilter
,ContextFilter
,DeprecatedFilter
,EchoFilter
,ExceptionFilter
,ExecuteLimitFilter
,FutureFilter
,GenericFilter
,GenericImplFilter
,MonitorFilter
,TimeoutFilter
,TokenFilter
,TpsLimitFilter
,TraceFilter
,ValidationFilter
@SPI public interface Filter
Filter. (SPI, Singleton, ThreadSafe)
-
-
方法详细资料
-
invoke
Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException
do invoke filter.// before filter Result result = invoker.invoke(invocation); // after filter return result;
- 参数:
invoker
- serviceinvocation
- invocation.- 返回:
- invoke result.
- 抛出:
RpcException
- 另请参阅:
Invoker.invoke(Invocation)
-
-