类 HerodotusRequest
java.lang.Object
cn.herodotus.engine.oauth2.authorization.definition.HerodotusRequest
- 所有已实现的接口:
Serializable
Description: 自定义 AntPathRequestMatcher
基于 AntPathRequestMatcher 代码,扩展了一些方法,解决原有 AntPathRequestMatcher 使用不方便问题。
- 作者:
- : gengwei.zheng
- 另请参阅:
- Date:
- : 2022/3/9 10:47
-
构造器概要
构造器构造器说明HerodotusRequest(String pattern) Creates a matcher with the specific pattern which will match all HTTP methods in a case sensitive manner.HerodotusRequest(String pattern, String httpMethod) Creates a matcher with the supplied pattern which will match the specified Http method -
方法概要
修饰符和类型方法说明booleaninthashCode()booleanvoidsetHttpMethod(String httpMethod) voidsetPattern(String pattern) toString()
-
构造器详细资料
-
HerodotusRequest
public HerodotusRequest() -
HerodotusRequest
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
Creates a matcher with the supplied pattern which will match the specified Http method- 参数:
pattern- the ant pattern to use for matchinghttpMethod- the HTTP method. Thematchesmethod will return false if the incoming request doesn't have the same method.
-
-
方法详细资料