org.springframework.web.util.pattern

Class PathPattern.PathMatchInfo

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


    public static class PathPattern.PathMatchInfo
    extends java.lang.Object
    Holder for URI variables and path parameters (matrix variables) extracted based on the pattern for a given matched path.
    • 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 maps of matrix variables per path segment, keyed off by URI variable name.
      java.util.Map<java.lang.String,java.lang.String> getUriVariables()
      Return the extracted URI variables.
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

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

      • getUriVariables

        public java.util.Map<java.lang.String,java.lang.String> getUriVariables()
        Return the extracted URI variables.
      • getMatrixVariables

        public java.util.Map<java.lang.String,MultiValueMap<java.lang.String,java.lang.String>> getMatrixVariables()
        Return maps of matrix variables per path segment, keyed off by URI variable name.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object