public class ProgressRequestBody
extends okhttp3.RequestBody
Modifier and Type | Class and Description |
---|---|
static interface |
ProgressRequestBody.ProgressRequestListener |
Constructor and Description |
---|
ProgressRequestBody(okhttp3.RequestBody requestBody,
ProgressRequestBody.ProgressRequestListener progressListener) |
Modifier and Type | Method and Description |
---|---|
long |
contentLength() |
okhttp3.MediaType |
contentType() |
void |
writeTo(okio.BufferedSink sink) |
public ProgressRequestBody(okhttp3.RequestBody requestBody, ProgressRequestBody.ProgressRequestListener progressListener)
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 © 2023. All rights reserved.