类 AntPathMatcher.AntPatternComparator.PatternInfo

java.lang.Object
cn.taketoday.core.AntPathMatcher.AntPatternComparator.PatternInfo
封闭类:
AntPathMatcher.AntPatternComparator

private static class AntPathMatcher.AntPatternComparator.PatternInfo extends Object
Value class that holds information about the pattern, e.g. number of occurrences of "*", "**", and "{" pattern elements.
  • 字段详细资料

    • uriVars

      public int uriVars
    • length

      @Nullable private Integer length
    • singleWildcards

      public int singleWildcards
    • doubleWildcards

      public int doubleWildcards
    • prefixPattern

      public boolean prefixPattern
    • catchAllPattern

      public boolean catchAllPattern
    • pattern

      @Nullable private final String pattern
  • 构造器详细资料

  • 方法详细资料

    • initCounters

      protected void initCounters(@Nullable String pattern)
    • isLeastSpecific

      public boolean isLeastSpecific()
    • getTotalCount

      public int getTotalCount()
    • getLength

      public int getLength()
      Returns the length of the given pattern, where template variables are considered to be 1 long.