public class RedirectConfig extends AbstractModel
| Constructor and Description |
|---|
RedirectConfig() |
RedirectConfig(RedirectConfig 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 |
getFollowRedirectBackupHost()
Get 备份源站follow302请求时带的自定义的host头部
|
String |
getFollowRedirectHost()
Get 主源站follow302请求时带的自定义的host头部
|
String |
getSwitch()
Get 配置开关
|
void |
setFollowRedirectBackupHost(String FollowRedirectBackupHost)
Set 备份源站follow302请求时带的自定义的host头部
|
void |
setFollowRedirectHost(String FollowRedirectHost)
Set 主源站follow302请求时带的自定义的host头部
|
void |
setSwitch(String Switch)
Set 配置开关
|
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 RedirectConfig()
public RedirectConfig(RedirectConfig source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - 配置开关public String getFollowRedirectHost()
public void setFollowRedirectHost(String FollowRedirectHost)
FollowRedirectHost - 主源站follow302请求时带的自定义的host头部public String getFollowRedirectBackupHost()
public void setFollowRedirectBackupHost(String FollowRedirectBackupHost)
FollowRedirectBackupHost - 备份源站follow302请求时带的自定义的host头部Copyright © 2022. All rights reserved.