public class RequestMatchResult
extends java.lang.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(java.lang.String pattern,
java.lang.String lookupPath,
org.springframework.util.PathMatcher pathMatcher)
Create an instance with the matched String 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(org.springframework.web.util.pattern.PathPattern pathPattern,
org.springframework.http.server.PathContainer lookupPath)
PathPattern.pathPattern - the pattern that was matchedlookupPath - the mapping pathpublic RequestMatchResult(java.lang.String pattern,
java.lang.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 matchpublic java.util.Map<java.lang.String,java.lang.String> extractUriTemplateVariables()
PathMatcher.extractUriTemplateVariables(java.lang.String, java.lang.String).