public class BotCookie extends AbstractModel
header, skipSign
Constructor and Description |
---|
BotCookie() |
BotCookie(BotCookie 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 |
---|---|
String |
getAction()
Get 执行动作,monitor|intercept|redirect|captcha
|
String |
getRedirectUrl()
Get 重定向时设置的重定向页面
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getRuleType()
Get 规则类型,当前只有all
|
String[] |
getRuleValue()
Get 规则值,['*']
|
String |
getSwitch()
Get Bot cookie策略配置开关,取值有:
on:开启
off:关闭
|
String |
getUpdateTime()
Get 更新时间
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setAction(String Action)
Set 执行动作,monitor|intercept|redirect|captcha
|
void |
setRedirectUrl(String RedirectUrl)
Set 重定向时设置的重定向页面
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRuleType(String RuleType)
Set 规则类型,当前只有all
|
void |
setRuleValue(String[] RuleValue)
Set 规则值,['*']
|
void |
setSwitch(String Switch)
Set Bot cookie策略配置开关,取值有:
on:开启
off:关闭
|
void |
setUpdateTime(String UpdateTime)
Set 更新时间
注意:此字段可能返回 null,表示取不到有效值。
|
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, toJsonString
public BotCookie()
public BotCookie(BotCookie source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Bot cookie策略配置开关,取值有:
on:开启
off:关闭public String getRuleType()
public void setRuleType(String RuleType)
RuleType
- 规则类型,当前只有allpublic String[] getRuleValue()
public void setRuleValue(String[] RuleValue)
RuleValue
- 规则值,['*']public String getAction()
public void setAction(String Action)
Action
- 执行动作,monitor|intercept|redirect|captchapublic String getRedirectUrl()
public void setRedirectUrl(String RedirectUrl)
RedirectUrl
- 重定向时设置的重定向页面
注意:此字段可能返回 null,表示取不到有效值。public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- 更新时间
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.