public class BotRatings extends AbstractModel
header, skipSign| Constructor and Description |
|---|
BotRatings() |
BotRatings(BotRatings source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
| Modifier and Type | Method and Description |
|---|---|
SecurityAction |
getHighRiskBotRequestsAction()
Get 恶意 Bot 请求的执行动作。 SecurityAction 的 Name 取值支持:Deny:拦截;Monitor:观察;Allow:放行;Challenge:挑战,其中 ChallengeActionParameters 中的 ChallengeOption 支持 JSChallenge 和 ManagedChallenge。
|
SecurityAction |
getHumanRequestsAction()
Get 正常 Bot 请求的执行动作。 SecurityAction 的 Name 取值支持:Allow:放行。
|
SecurityAction |
getLikelyBotRequestsAction()
Get 疑似 Bot 请求的执行动作。 SecurityAction 的 Name 取值支持:Deny:拦截;Monitor:观察;Allow:放行;Challenge:挑战,其中 ChallengeActionParameters 中的 ChallengeOption 支持 JSChallenge 和 ManagedChallenge。
|
SecurityAction |
getVerifiedBotRequestsAction()
Get 友好 Bot 请求的执行动作。 SecurityAction 的 Name 取值支持:Deny:拦截;Monitor:观察;Allow:放行;Challenge:挑战,其中 ChallengeActionParameters 中的 ChallengeOption 支持 JSChallenge 和 ManagedChallenge。
|
void |
setHighRiskBotRequestsAction(SecurityAction HighRiskBotRequestsAction)
Set 恶意 Bot 请求的执行动作。 SecurityAction 的 Name 取值支持:Deny:拦截;Monitor:观察;Allow:放行;Challenge:挑战,其中 ChallengeActionParameters 中的 ChallengeOption 支持 JSChallenge 和 ManagedChallenge。
|
void |
setHumanRequestsAction(SecurityAction HumanRequestsAction)
Set 正常 Bot 请求的执行动作。 SecurityAction 的 Name 取值支持:Allow:放行。
|
void |
setLikelyBotRequestsAction(SecurityAction LikelyBotRequestsAction)
Set 疑似 Bot 请求的执行动作。 SecurityAction 的 Name 取值支持:Deny:拦截;Monitor:观察;Allow:放行;Challenge:挑战,其中 ChallengeActionParameters 中的 ChallengeOption 支持 JSChallenge 和 ManagedChallenge。
|
void |
setVerifiedBotRequestsAction(SecurityAction VerifiedBotRequestsAction)
Set 友好 Bot 请求的执行动作。 SecurityAction 的 Name 取值支持:Deny:拦截;Monitor:观察;Allow:放行;Challenge:挑战,其中 ChallengeActionParameters 中的 ChallengeOption 支持 JSChallenge 和 ManagedChallenge。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic BotRatings()
public BotRatings(BotRatings source)
public SecurityAction getHighRiskBotRequestsAction()
public void setHighRiskBotRequestsAction(SecurityAction HighRiskBotRequestsAction)
HighRiskBotRequestsAction - 恶意 Bot 请求的执行动作。 SecurityAction 的 Name 取值支持:public SecurityAction getLikelyBotRequestsAction()
public void setLikelyBotRequestsAction(SecurityAction LikelyBotRequestsAction)
LikelyBotRequestsAction - 疑似 Bot 请求的执行动作。 SecurityAction 的 Name 取值支持:public SecurityAction getVerifiedBotRequestsAction()
public void setVerifiedBotRequestsAction(SecurityAction VerifiedBotRequestsAction)
VerifiedBotRequestsAction - 友好 Bot 请求的执行动作。 SecurityAction 的 Name 取值支持:public SecurityAction getHumanRequestsAction()
public void setHumanRequestsAction(SecurityAction HumanRequestsAction)
HumanRequestsAction - 正常 Bot 请求的执行动作。 SecurityAction 的 Name 取值支持:Copyright © 2025. All rights reserved.