org.springframework.web.util.pattern

Class PathPattern.PathRemainingMatchInfo

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


    public static class PathPattern.PathRemainingMatchInfo
    extends java.lang.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 Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.Map<java.lang.String,MultiValueMap<java.lang.String,java.lang.String>> getMatrixVariables()
      Return the path parameters for each bound variable.
      PathContainer getPathRemaining()
      Return the part of a path that was not matched by a pattern.
      java.util.Map<java.lang.String,java.lang.String> getUriVariables()
      Return variables that were bound in the part of the path that was successfully matched or an empty map.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getPathRemaining

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

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

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