Package org.apache.dubbo.rpc
Interface BaseFilter
- All Known Subinterfaces:
ClusterFilter,Filter
- All Known Implementing Classes:
AccessLogFilter,ActiveLimitFilter,AdaptiveLoadBalanceFilter,ClassLoaderCallbackFilter,ClassLoaderFilter,CompatibleFilter,ContextFilter,DeprecatedFilter,EchoFilter,ExceptionFilter,ExecuteLimitFilter,FutureFilter,GenericFilter,GenericImplFilter,ListenableFilter,ProfilerServerFilter,RpcExceptionFilter,TimeoutFilter,TokenFilter,TpsLimitFilter
public interface BaseFilter
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThis 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. -
Method Summary
Modifier and TypeMethodDescriptioninvoke(Invoker<?> invoker, Invocation invocation) Always call invoker.invoke() in the implementation to hand over the request to the next filter node.
-
Method Details
-
invoke
Always call invoker.invoke() in the implementation to hand over the request to the next filter node.- Throws:
RpcException
-