类 HerodotusRequest

java.lang.Object
cn.herodotus.engine.oauth2.authorization.definition.HerodotusRequest
所有已实现的接口:
Serializable

public final class HerodotusRequest extends Object implements Serializable

Description: 自定义 AntPathRequestMatcher

基于 AntPathRequestMatcher 代码,扩展了一些方法,解决原有 AntPathRequestMatcher 使用不方便问题。

作者:
: gengwei.zheng
另请参阅:
Date:
: 2022/3/9 10:47
  • 构造器详细资料

    • HerodotusRequest

      public HerodotusRequest()
    • HerodotusRequest

      public HerodotusRequest(String pattern)
      Creates a matcher with the specific pattern which will match all HTTP methods in a case sensitive manner.
      参数:
      pattern - the ant pattern to use for matching
    • HerodotusRequest

      public HerodotusRequest(String pattern, String httpMethod)
      Creates a matcher with the supplied pattern which will match the specified Http method
      参数:
      pattern - the ant pattern to use for matching
      httpMethod - the HTTP method. The matches method will return false if the incoming request doesn't have the same method.
  • 方法详细资料

    • getPattern

      public String getPattern()
    • setPattern

      public void setPattern(String pattern)
    • getHttpMethod

      public String getHttpMethod()
    • setHttpMethod

      public void setHttpMethod(String httpMethod)
    • isHasWildcard

      public boolean isHasWildcard()
    • equals

      public boolean equals(Object o)
      覆盖:
      equals 在类中 Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • toString

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