public class ProgressRequestBody
extends com.squareup.okhttp.RequestBody
Modifier and Type | Class and Description |
---|---|
static interface |
ProgressRequestBody.ProgressRequestListener |
Constructor and Description |
---|
ProgressRequestBody(com.squareup.okhttp.RequestBody requestBody,
ProgressRequestBody.ProgressRequestListener progressListener) |
Modifier and Type | Method and Description |
---|---|
long |
contentLength() |
com.squareup.okhttp.MediaType |
contentType() |
void |
writeTo(okio.BufferedSink sink) |
public ProgressRequestBody(com.squareup.okhttp.RequestBody requestBody, ProgressRequestBody.ProgressRequestListener progressListener)
public com.squareup.okhttp.MediaType contentType()
contentType
in class com.squareup.okhttp.RequestBody
public long contentLength() throws IOException
contentLength
in class com.squareup.okhttp.RequestBody
IOException
public void writeTo(okio.BufferedSink sink) throws IOException
writeTo
in class com.squareup.okhttp.RequestBody
IOException
Copyright © 2019 DocDoku. All rights reserved.