public abstract class PlatformHttpClient extends HttpClient
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
compress
文本压缩格式,可选值:raw(默认值)
|
protected String |
encoding
文本编码,可选值:utf8(默认值
|
protected String |
format
文本格式,可选值:json(默认值)
|
protected String |
serviceId
服务引擎ID
|
protected int |
status
请求状态,取值范围为:3(一次传完)
|
BINARY, FORM, JSON, okHttpClient, request| 构造器和说明 |
|---|
PlatformHttpClient(PlatformBuilder builder) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected com.google.gson.JsonObject |
buildHeader() |
protected com.google.gson.JsonObject |
buildResult() |
String |
getCompress() |
String |
getEncoding() |
String |
getFormat() |
String |
getServiceId() |
int |
getStatus() |
getCallTimeout, getConnectTimeout, getOkHttpClient, getReadTimeout, getRequest, getRetryOnConnectionFailure, getWriteTimeout, sendPost, sendPost, sendPost, sendPostgetApiKey, getApiSecret, getAppId, getHostUrlprotected String serviceId
protected int status
protected String encoding
protected String compress
protected String format
public PlatformHttpClient(PlatformBuilder builder)
public String getServiceId()
public int getStatus()
public String getEncoding()
public String getCompress()
public String getFormat()
protected com.google.gson.JsonObject buildHeader()
protected com.google.gson.JsonObject buildResult()
Copyright © 2021. All rights reserved.