Class HttpHeader
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.iecp.v20210914.models.HttpHeader
-
public class HttpHeader extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description HttpHeader()
HttpHeader(HttpHeader 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Get HTTP头的名称 注意:此字段可能返回 null,表示取不到有效值。String
getValue()
Get HTTP头的值 注意:此字段可能返回 null,表示取不到有效值。void
setName(String Name)
Set HTTP头的名称 注意:此字段可能返回 null,表示取不到有效值。void
setValue(String Value)
Set HTTP头的值 注意:此字段可能返回 null,表示取不到有效值。void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
HttpHeader
public HttpHeader()
-
HttpHeader
public HttpHeader(HttpHeader 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.
-
-
Method Detail
-
getName
public String getName()
Get HTTP头的名称 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Name HTTP头的名称 注意:此字段可能返回 null,表示取不到有效值。
-
setName
public void setName(String Name)
Set HTTP头的名称 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Name
- HTTP头的名称 注意:此字段可能返回 null,表示取不到有效值。
-
getValue
public String getValue()
Get HTTP头的值 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Value HTTP头的值 注意:此字段可能返回 null,表示取不到有效值。
-
setValue
public void setValue(String Value)
Set HTTP头的值 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Value
- HTTP头的值 注意:此字段可能返回 null,表示取不到有效值。
-
-