Package org.apache.dubbo.rpc.filter
Class TokenFilter
java.lang.Object
org.apache.dubbo.rpc.filter.TokenFilter
- All Implemented Interfaces:
BaseFilter,Filter
@Activate(group="provider",
value="token")
public class TokenFilter
extends Object
implements Filter
Perform check whether given provider token is matching with remote token or not. If it does not match
it will not allow invoking remote method.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.dubbo.rpc.BaseFilter
BaseFilter.Listener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninvoke(Invoker<?> invoker, Invocation inv) Always call invoker.invoke() in the implementation to hand over the request to the next filter node.
-
Constructor Details
-
TokenFilter
public TokenFilter()
-
-
Method Details
-
invoke
Description copied from interface:BaseFilterAlways call invoker.invoke() in the implementation to hand over the request to the next filter node.- Specified by:
invokein interfaceBaseFilter- Throws:
RpcException
-