public class RequestMatchResult
extends java.lang.Object
MatchableHandlerMapping
with a method to further extract
URI template variables from the pattern.Constructor and Description |
---|
RequestMatchResult(java.lang.String matchingPattern,
java.lang.String lookupPath,
PathMatcher pathMatcher)
Create an instance with a matching pattern.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
extractUriTemplateVariables()
Extract URI template variables from the matching pattern as defined in
PathMatcher.extractUriTemplateVariables(java.lang.String, java.lang.String) . |
public RequestMatchResult(java.lang.String matchingPattern, java.lang.String lookupPath, PathMatcher pathMatcher)
matchingPattern
- the matching pattern, possibly not the same as the
input pattern, e.g. inputPattern="/foo" and matchingPattern="/foo/".lookupPath
- the lookup path extracted from the requestpathMatcher
- the PathMatcher usedpublic java.util.Map<java.lang.String,java.lang.String> extractUriTemplateVariables()
PathMatcher.extractUriTemplateVariables(java.lang.String, java.lang.String)
.