public class RequestMatchResult extends Object
MatchableHandlerMapping
with a method to further extract
URI template variables from the pattern.Constructor and Description |
---|
RequestMatchResult(org.springframework.web.util.pattern.PathPattern pathPattern,
org.springframework.http.server.PathContainer lookupPath)
Create an instance with the matched
PathPattern . |
RequestMatchResult(String pattern,
String lookupPath,
org.springframework.util.PathMatcher pathMatcher)
Create an instance with the matched String 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(org.springframework.web.util.pattern.PathPattern pathPattern, org.springframework.http.server.PathContainer lookupPath)
PathPattern
.pathPattern
- the pattern that was matchedlookupPath
- the mapping pathpublic RequestMatchResult(String pattern, String lookupPath, org.springframework.util.PathMatcher pathMatcher)
pattern
- the pattern that was matched, possibly with a '/' appendedlookupPath
- the mapping pathpathMatcher
- the PathMatcher instance used for the match