public class HttpGetOption extends AbstractModel
header, skipSign
Constructor and Description |
---|
HttpGetOption() |
HttpGetOption(HttpGetOption 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 |
getHost()
Get 主机地址
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getPath()
Get 路径
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getPort()
Get 端口
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getScheme()
Get 协议:HTTP|HTTPS
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setHost(String Host)
Set 主机地址
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setPath(String Path)
Set 路径
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setPort(String Port)
Set 端口
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setScheme(String Scheme)
Set 协议:HTTP|HTTPS
注意:此字段可能返回 null,表示取不到有效值。
|
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 HttpGetOption()
public HttpGetOption(HttpGetOption source)
public String getHost()
public void setHost(String Host)
Host
- 主机地址
注意:此字段可能返回 null,表示取不到有效值。public String getPath()
public void setPath(String Path)
Path
- 路径
注意:此字段可能返回 null,表示取不到有效值。public String getPort()
public void setPort(String Port)
Port
- 端口
注意:此字段可能返回 null,表示取不到有效值。public String getScheme()
public void setScheme(String Scheme)
Scheme
- 协议:HTTP|HTTPS
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.