public class ProgressRequestBody
extends okhttp3.RequestBody
Constructor and Description |
---|
ProgressRequestBody(okhttp3.RequestBody requestBody,
ApiCallback callback) |
Modifier and Type | Method and Description |
---|---|
long |
contentLength() |
okhttp3.MediaType |
contentType() |
void |
writeTo(okio.BufferedSink sink) |
public ProgressRequestBody(okhttp3.RequestBody requestBody, ApiCallback callback)
public okhttp3.MediaType contentType()
contentType
in class okhttp3.RequestBody
public long contentLength() throws IOException
contentLength
in class okhttp3.RequestBody
IOException
public void writeTo(okio.BufferedSink sink) throws IOException
writeTo
in class okhttp3.RequestBody
IOException
Copyright © 2021. All rights reserved.