public class PostRequest extends OkHttpRequest
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PostRequest.FileInfo |
| 限定符和类型 | 字段和说明 |
|---|---|
static org.slf4j.Logger |
logger |
builder, fileInfos, headers, id, multipartBody, params, postBody, url| 构造器和说明 |
|---|
PostRequest(String url,
Object tag,
Map<String,String> params,
Map<String,String> headers,
List<PostRequest.FileInfo> fileInfos,
String postBody,
okhttp3.MultipartBody multipartBody,
int id) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected okhttp3.Request |
buildRequest(okhttp3.RequestBody requestBody) |
protected okhttp3.RequestBody |
buildRequestBody() |
static String |
getMimeType(String path) |
appendHeaders, build, createRequest, getIdprotected okhttp3.RequestBody buildRequestBody()
buildRequestBody 在类中 OkHttpRequestprotected okhttp3.Request buildRequest(okhttp3.RequestBody requestBody)
buildRequest 在类中 OkHttpRequestCopyright © 2017. All rights reserved.