public class RequestConfig extends AbstractModel
Constructor and Description |
---|
RequestConfig() |
RequestConfig(RequestConfig 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 |
getMethod()
Get API 的请求方法,如 GET。
|
String |
getPath()
Get API 的路径,如 /path。
|
void |
setMethod(String Method)
Set API 的请求方法,如 GET。
|
void |
setPath(String Path)
Set API 的路径,如 /path。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public RequestConfig()
public RequestConfig(RequestConfig source)
public String getPath()
public void setPath(String Path)
Path
- API 的路径,如 /path。public String getMethod()
public void setMethod(String Method)
Method
- API 的请求方法,如 GET。Copyright © 2021. All rights reserved.