类 PathMatchInfo

java.lang.Object
cn.taketoday.web.util.pattern.PathMatchInfo

public class PathMatchInfo extends Object
Holder for URI variables and path parameters (matrix variables) extracted based on the pattern for a given matched path.
从以下版本开始:
4.0 2022/2/2 17:59
作者:
Harry Yang
  • 字段详细资料

  • 构造器详细资料

  • 方法详细资料

    • getUriVariables

      public Map<String,String> getUriVariables()
      Return the extracted URI variables.
    • getUriVariable

      @Nullable public String getUriVariable(String name)
      Return the extracted URI variable with given name
    • getMatrixVariables

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

      public cn.taketoday.util.MultiValueMap<String,String> getMatrixVariable(String name)
      Return matrix variables
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object