类 PathSelectors

java.lang.Object
springfox.documentation.builders.PathSelectors

public class PathSelectors extends Object
  • 方法概要

    修饰符和类型
    方法
    说明
    static com.google.common.base.Predicate<String>
    ant(String antPattern)
    Predicate that evaluates the supplied ant pattern
    static com.google.common.base.Predicate<String>
    any()
    Any path satisfies this condition
    static com.google.common.base.Predicate<String>
    No path satisfies this condition
    static com.google.common.base.Predicate<String>
    regex(String pathRegex)
    Predicate that evaluates the supplied regular expression

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

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 方法详细资料

    • any

      public static com.google.common.base.Predicate<String> any()
      Any path satisfies this condition
      返回:
      predicate that is always true
    • none

      public static com.google.common.base.Predicate<String> none()
      No path satisfies this condition
      返回:
      predicate that is always false
    • regex

      public static com.google.common.base.Predicate<String> regex(String pathRegex)
      Predicate that evaluates the supplied regular expression
      参数:
      pathRegex - - regex
      返回:
      predicate that matches a particular regex
    • ant

      public static com.google.common.base.Predicate<String> ant(String antPattern)
      Predicate that evaluates the supplied ant pattern
      参数:
      antPattern - - ant Pattern
      返回:
      predicate that matches a particular ant pattern