Class RequestMatchResult
java.lang.Object
org.springframework.web.servlet.handler.RequestMatchResult
Container for the result from request pattern matching via
 
MatchableHandlerMapping with a method to further extract
 URI template variables from the pattern.- Since:
- 4.3.1
- Author:
- Rossen Stoyanchev
- 
Constructor SummaryConstructorsConstructorDescriptionRequestMatchResult(String pattern, String lookupPath, PathMatcher pathMatcher) Create an instance with the matched String pattern.RequestMatchResult(PathPattern pathPattern, PathContainer lookupPath) Create an instance with the matchedPathPattern.
- 
Method SummaryModifier and TypeMethodDescriptionExtract URI template variables from the matching pattern as defined inPathMatcher.extractUriTemplateVariables(java.lang.String, java.lang.String).
- 
Constructor Details- 
RequestMatchResultCreate an instance with the matchedPathPattern.- Parameters:
- pathPattern- the pattern that was matched
- lookupPath- the mapping path
- Since:
- 5.3
 
- 
RequestMatchResultCreate an instance with the matched String pattern.- Parameters:
- pattern- the pattern that was matched, possibly with a '/' appended
- lookupPath- the mapping path
- pathMatcher- the PathMatcher instance used for the match
 
 
- 
- 
Method Details- 
extractUriTemplateVariablesExtract URI template variables from the matching pattern as defined inPathMatcher.extractUriTemplateVariables(java.lang.String, java.lang.String).- Returns:
- a map with URI template variables
 
 
-