public class RequestMatchResult extends Object
MatchableHandlerMapping
with a method to further extract
URI template variables from the pattern.Constructor and Description |
---|
RequestMatchResult(String matchingPattern,
String lookupPath,
PathMatcher pathMatcher)
Create an instance with a matching pattern.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
extractUriTemplateVariables()
Extract URI template variables from the matching pattern as defined in
PathMatcher.extractUriTemplateVariables(java.lang.String, java.lang.String) . |
public RequestMatchResult(String matchingPattern, 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 Map<String,String> extractUriTemplateVariables()
PathMatcher.extractUriTemplateVariables(java.lang.String, java.lang.String)
.