public class FollowRedirect extends AbstractModel
| Constructor and Description |
|---|
FollowRedirect() |
FollowRedirect(FollowRedirect 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 |
|---|---|
RedirectConfig |
getRedirectConfig()
Get 自定义回源302 follow请求host配置,该功能为白名单功能,需要开启请联系腾讯云工程师。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSwitch()
Get 回源跟随开关
on:开启
off:关闭
|
void |
setRedirectConfig(RedirectConfig RedirectConfig)
Set 自定义回源302 follow请求host配置,该功能为白名单功能,需要开启请联系腾讯云工程师。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSwitch(String Switch)
Set 回源跟随开关
on:开启
off:关闭
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic FollowRedirect()
public FollowRedirect(FollowRedirect source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - 回源跟随开关
on:开启
off:关闭public RedirectConfig getRedirectConfig()
public void setRedirectConfig(RedirectConfig RedirectConfig)
RedirectConfig - 自定义回源302 follow请求host配置,该功能为白名单功能,需要开启请联系腾讯云工程师。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.