Class PathPattern.PathRemainingMatchInfo

Enclosing class:

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.
  • Method Details

    • getPathMatched

      public PathContainer getPathMatched()
      Return the part of a path that was matched by a pattern.
    • getPathRemaining

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

      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

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