public abstract class AbstractIccRequest<T extends IotResponse> extends IotHttpRequest
bodyParameters, form, httpRequest| 构造器和说明 |
|---|
AbstractIccRequest(String url,
Method method) |
AbstractIccRequest(String url,
Method method,
boolean needAuth) |
AbstractIccRequest(String url,
Method method,
boolean needAuth,
String body) |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract Class<T> |
getResponseClass()
返回结果对象
|
protected void |
putBodyParameter(String name,
Object value)
请求body,json,请求发送前会把map的值转换成json
|
protected void |
setParameter(Map<String,Object> map,
String name,
Object value)
表单格式,添加参数
|
body, execute, executeResponse, form, form, get, getBody, getBodyParameters, getForm, getHeader, getHttpRequest, getMethod, getUrl, header, isNeedAuth, main, post, setBody, setForm, setHeader, setHttpRequest, setMethod, setNeedAuth, setUrlpublic AbstractIccRequest(String url, Method method) throws ClientException
ClientExceptionpublic AbstractIccRequest(String url, Method method, boolean needAuth) throws ClientException
ClientExceptionpublic AbstractIccRequest(String url, Method method, boolean needAuth, String body) throws ClientException
ClientExceptionCopyright © 2023. All rights reserved.