public class ProgressRequestBody
extends okhttp3.RequestBody
Constructor and Description |
---|
ProgressRequestBody(okhttp3.RequestBody requestBody,
ProgressListener progressListener) |
Modifier and Type | Method and Description |
---|---|
long |
contentLength() |
okhttp3.MediaType |
contentType() |
void |
writeTo(okio.BufferedSink sink) |
public ProgressRequestBody(okhttp3.RequestBody requestBody, ProgressListener progressListener)
public okhttp3.MediaType contentType()
contentType
in class okhttp3.RequestBody
public long contentLength() throws java.io.IOException
contentLength
in class okhttp3.RequestBody
java.io.IOException
public void writeTo(okio.BufferedSink sink) throws java.io.IOException
writeTo
in class okhttp3.RequestBody
java.io.IOException