Class ArgumentConditionMatcher
java.lang.Object
org.apache.dubbo.rpc.cluster.router.condition.matcher.AbstractConditionMatcher
org.apache.dubbo.rpc.cluster.router.condition.matcher.argument.ArgumentConditionMatcher
- All Implemented Interfaces:
ConditionMatcher
analysis the arguments in the rule.
Examples would be like this:
"arguments[0]=1", whenCondition is that the first argument is equal to '1'.
"arguments[1]=a", whenCondition is that the second argument is equal to 'a'.
-
Field Summary
Fields inherited from class org.apache.dubbo.rpc.cluster.router.condition.matcher.AbstractConditionMatcher
DOES_NOT_FOUND_VALUE -
Constructor Summary
ConstructorsConstructorDescriptionArgumentConditionMatcher(String key, org.apache.dubbo.rpc.model.ModuleModel model) -
Method Summary
Methods inherited from class org.apache.dubbo.rpc.cluster.router.condition.matcher.AbstractConditionMatcher
getMatches, getMismatches, getSampleValueFromUrl, isMatch
-
Constructor Details
-
ArgumentConditionMatcher
-
-
Method Details
-
getValue
public String getValue(Map<String, String> sample, org.apache.dubbo.common.URL url, Invocation invocation)
-