public class HostHeaderParameters extends AbstractModel
header, skipSign
Constructor and Description |
---|
HostHeaderParameters() |
HostHeaderParameters(HostHeaderParameters 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 执行动作,取值有:
followOrigin:跟随源站域名;
custom:自定义。
|
String |
getServerName()
Get Host Header 重写,需要填写完整域名。
注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。 |
void |
setAction(String Action)
Set 执行动作,取值有:
followOrigin:跟随源站域名;
custom:自定义。
|
void |
setServerName(String ServerName)
Set Host Header 重写,需要填写完整域名。
注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。 |
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 HostHeaderParameters()
public HostHeaderParameters(HostHeaderParameters source)
public String getAction()
public void setAction(String Action)
Action
- 执行动作,取值有:
public String getServerName()
public void setServerName(String ServerName)
ServerName
- Host Header 重写,需要填写完整域名。Copyright © 2025. All rights reserved.