public static class RequestMatcher.MatchResult
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getVariables()
Returns the extracted variable values where the key is the variable name and
the value is the variable value
|
boolean |
isMatch() |
static RequestMatcher.MatchResult |
match()
Creates an instance of
RequestMatcher.MatchResult that is a match with no variables |
static RequestMatcher.MatchResult |
match(java.util.Map<java.lang.String,java.lang.String> variables)
Creates an instance of
RequestMatcher.MatchResult that is a match with the specified
variables |
static RequestMatcher.MatchResult |
notMatch()
Creates an instance of
RequestMatcher.MatchResult that is not a match. |
public boolean isMatch()
public java.util.Map<java.lang.String,java.lang.String> getVariables()
public static RequestMatcher.MatchResult match()
RequestMatcher.MatchResult
that is a match with no variablespublic static RequestMatcher.MatchResult match(java.util.Map<java.lang.String,java.lang.String> variables)
RequestMatcher.MatchResult
that is a match with the specified
variablesvariables
- public static RequestMatcher.MatchResult notMatch()
RequestMatcher.MatchResult
that is not a match.