public class HeaderAction extends AbstractModel
header, skipSign
Constructor and Description |
---|
HeaderAction() |
HeaderAction(HeaderAction 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 HTTP 头部设置方式。取值有:
set:设置。变更指定头部参数的取值为设置后的值;
del:删除。删除指定的头部参数;
add:增加。增加指定的头部参数。
|
String |
getName()
Get HTTP 头部名称。
|
String |
getValue()
Get HTTP 头部值。当 Action 取值为 set 或者 add 时,该参数必填;当 Action 取值为 del 时,该参数无需填写。
|
void |
setAction(String Action)
Set HTTP 头部设置方式。取值有:
set:设置。变更指定头部参数的取值为设置后的值;
del:删除。删除指定的头部参数;
add:增加。增加指定的头部参数。
|
void |
setName(String Name)
Set HTTP 头部名称。
|
void |
setValue(String Value)
Set HTTP 头部值。当 Action 取值为 set 或者 add 时,该参数必填;当 Action 取值为 del 时,该参数无需填写。
|
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 HeaderAction()
public HeaderAction(HeaderAction source)
public String getAction()
public void setAction(String Action)
Action
- HTTP 头部设置方式。取值有:
public String getName()
public void setName(String Name)
Name
- HTTP 头部名称。public String getValue()
public void setValue(String Value)
Value
- HTTP 头部值。当 Action 取值为 set 或者 add 时,该参数必填;当 Action 取值为 del 时,该参数无需填写。Copyright © 2025. All rights reserved.