Class PathPattern.PathRemainingMatchInfo

java.lang.Object
org.springframework.web.util.pattern.PathPattern.PathRemainingMatchInfo
Enclosing class:
PathPattern

public static class PathPattern.PathRemainingMatchInfo extends Object
Holder for the result of a match on the start of a pattern. Provides access to the remaining path not matched to the pattern as well as any variables bound in that first part that was matched.
Since:
5.0
Author:
Andy Clement, Rossen Stoyanchev
  • Method Details Link icon

    • getPathMatched Link icon

      public PathContainer getPathMatched()
      Return the part of a path that was matched by a pattern.
      Since:
      5.3
    • getPathRemaining Link icon

      public PathContainer getPathRemaining()
      Return the part of a path that was not matched by a pattern.
    • getUriVariables Link icon

      public Map<String,String> getUriVariables()
      Return variables that were bound in the part of the path that was successfully matched or an empty map.
    • getMatrixVariables Link icon

      public Map<String, MultiValueMap<String,String>> getMatrixVariables()
      Return the path parameters for each bound variable.