public class InputStreamUploadBody
extends okhttp3.RequestBody
| 构造器和说明 |
|---|
InputStreamUploadBody(String contentType,
InputStream rFile,
long contentLength) |
InputStreamUploadBody(String contentType,
InputStream rFile,
long contentLength,
long offset) |
public InputStreamUploadBody(String contentType, InputStream rFile, long contentLength)
public InputStreamUploadBody(String contentType, InputStream rFile, long contentLength, long offset)
public okhttp3.MediaType contentType()
contentType 在类中 okhttp3.RequestBodypublic void writeTo(okio.BufferedSink sink)
throws IOException
writeTo 在类中 okhttp3.RequestBodyIOExceptionCopyright © 2018. All rights reserved.