Class Header
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.teo.v20220106.models.Header
-
public class Header extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Get HTTP头部StringgetValue()Get HTTP头部值voidsetName(String Name)Set HTTP头部voidsetValue(String Value)Set HTTP头部值voidtoMap(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
-
Header
public Header()
-
Header
public Header(Header 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头部- Returns:
- Name HTTP头部
-
setName
public void setName(String Name)
Set HTTP头部- Parameters:
Name- HTTP头部
-
getValue
public String getValue()
Get HTTP头部值- Returns:
- Value HTTP头部值
-
setValue
public void setValue(String Value)
Set HTTP头部值- Parameters:
Value- HTTP头部值
-
-