public interface RequestMatcher
Modifier and Type | Interface and Description |
---|---|
static class |
RequestMatcher.MatchResult
The result of matching against an HttpServletRequest
Contains the status, true or false, of the match and
if present, any variables extracted from the match
|
Modifier and Type | Method and Description |
---|---|
default RequestMatcher.MatchResult |
matcher(javax.servlet.http.HttpServletRequest request)
Returns a MatchResult for this RequestMatcher
The default implementation returns
Collections.emptyMap()
when RequestMatcher.MatchResult.getVariables() is invoked. |
boolean |
matches(javax.servlet.http.HttpServletRequest request)
Decides whether the rule implemented by the strategy matches the supplied request.
|
boolean matches(javax.servlet.http.HttpServletRequest request)
request
- the request to check for a matchdefault RequestMatcher.MatchResult matcher(javax.servlet.http.HttpServletRequest request)
Collections.emptyMap()
when RequestMatcher.MatchResult.getVariables()
is invoked.