org.springframework.web.servlet.handler

Class RequestMatchResult

  • java.lang.Object
    • org.springframework.web.servlet.handler.RequestMatchResult


  • public class RequestMatchResult
    extends java.lang.Object
    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 Detail

      • RequestMatchResult

        public RequestMatchResult(java.lang.String matchingPattern,
                                  java.lang.String lookupPath,
                                  PathMatcher pathMatcher)
        Create an instance with a matching pattern.
        Parameters:
        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 request
        pathMatcher - the PathMatcher used