org.springframework.util

## 类 AntPathMatcher.AntPathStringMatcher

- java.lang.Object
- - org.springframework.util.AntPathMatcher.AntPathStringMatcher

- 封闭类:
    AntPathMatcher

      protected static class AntPathMatcher.AntPathStringMatcher
      extends Object

  Tests whether or not a string matches against a pattern via a `Pattern`.

  The pattern may contain special characters: '*' means zero or more characters; '?' means one and only one character; '{' and '}' indicate a URI template pattern. For example `/users/{user}`.

- - ### 构造器概要

    构造器
    构造器和说明
    `AntPathStringMatcher(String pattern)`
    `AntPathStringMatcher(String pattern, boolean caseSensitive)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `boolean` | `matchStrings(String str, Map<String,String> uriTemplateVariables)` Main entry point.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### AntPathStringMatcher

          public AntPathStringMatcher(String pattern)

    - #### AntPathStringMatcher

          public AntPathStringMatcher(String pattern,
                                      boolean caseSensitive)

  - ### 方法详细资料

    - #### matchStrings

          public boolean matchStrings(String str,
                                      @Nullable
                                      Map<String,String> uriTemplateVariables)

      Main entry point.
      返回:
        `true` if the string matches against the pattern, or `false` otherwise.