类 AuthorityRule
java.lang.Object
com.alibaba.csp.sentinel.slots.block.AbstractRule
com.alibaba.csp.sentinel.slots.block.authority.AuthorityRule
- 所有已实现的接口:
Rule
Authority rule is designed for limiting by request origins.
- 作者:
- youji.zj
-
构造器概要
构造器 -
方法概要
从类继承的方法 com.alibaba.csp.sentinel.slots.block.AbstractRule
as, getId, getLimitApp, getResource, isRegex, setId, setLimitApp, setRegex, setResource
-
构造器详细资料
-
AuthorityRule
public AuthorityRule()
-
-
方法详细资料
-
getStrategy
public int getStrategy() -
setStrategy
-
equals
- 覆盖:
equals在类中AbstractRule
-
hashCode
public int hashCode()- 覆盖:
hashCode在类中AbstractRule
-
toString
-