public abstract class AbstractIccRequest<T extends IccResponse> extends IccHttpHttpRequest
bodyParameters, form, httpRequest| 构造器和说明 |
|---|
AbstractIccRequest(String url,
com.dahuatech.hutool.http.Method method) |
AbstractIccRequest(String url,
com.dahuatech.hutool.http.Method method,
boolean needAuth) |
AbstractIccRequest(String url,
com.dahuatech.hutool.http.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, com.dahuatech.hutool.http.Method method) throws com.dahuatech.icc.exception.ClientException
com.dahuatech.icc.exception.ClientExceptionpublic AbstractIccRequest(String url, com.dahuatech.hutool.http.Method method, boolean needAuth) throws com.dahuatech.icc.exception.ClientException
com.dahuatech.icc.exception.ClientExceptionCopyright © 2023. All rights reserved.