@Activate(order=2147483647) public class WildcardValuePattern extends Object implements ValuePattern
This pattern evaluator must be the last one being executed.
| 构造器和说明 |
|---|
WildcardValuePattern() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
match(String pattern,
String value,
org.apache.dubbo.common.URL url,
Invocation invocation,
boolean isWhenCondition)
Is the pattern matches with the request context
|
boolean |
shouldMatch(String key)
Is the input pattern of a specific form, for example, range pattern '1~100', wildcard pattern 'hello*', etc.
|
public boolean shouldMatch(String key)
ValuePatternshouldMatch 在接口中 ValuePatternkey - the match or mismatch patternpublic boolean match(String pattern, String value, org.apache.dubbo.common.URL url, Invocation invocation, boolean isWhenCondition)
ValuePatternmatch 在接口中 ValuePatternpattern - pattern value extracted from condition rulevalue - the real value extracted from request contexturl - request context in consumer urlinvocation - request context in invocationisWhenCondition - condition typeCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.