| 程序包 | 说明 |
|---|---|
| com.mzlion.easyokhttp | |
| com.mzlion.easyokhttp.request |
| 限定符和类型 | 方法和说明 |
|---|---|
static BinaryBodyPostRequest |
HttpClient.binaryBody(String url)
向请求体中传入二进制流
|
| 限定符和类型 | 方法和说明 |
|---|---|
BinaryBodyPostRequest |
BinaryBodyPostRequest.contentType(com.mzlion.core.http.ContentType contentType)
设置请求内容类型
|
BinaryBodyPostRequest |
BinaryBodyPostRequest.contentType(String contentType)
设置请求内容类型
|
BinaryBodyPostRequest |
BinaryBodyPostRequest.file(File file)
设置文件,转为文件流
|
BinaryBodyPostRequest |
BinaryBodyPostRequest.stream(InputStream inputStream)
设置二进制流
|
Copyright © 2017. All rights reserved.