public class ProgressResponseBody
extends com.squareup.okhttp.ResponseBody
Modifier and Type | Class and Description |
---|---|
static interface |
ProgressResponseBody.ProgressListener |
Constructor and Description |
---|
ProgressResponseBody(com.squareup.okhttp.ResponseBody responseBody,
ProgressResponseBody.ProgressListener progressListener) |
Modifier and Type | Method and Description |
---|---|
long |
contentLength() |
com.squareup.okhttp.MediaType |
contentType() |
okio.BufferedSource |
source() |
public ProgressResponseBody(com.squareup.okhttp.ResponseBody responseBody, ProgressResponseBody.ProgressListener progressListener)
public com.squareup.okhttp.MediaType contentType()
contentType
in class com.squareup.okhttp.ResponseBody
public long contentLength() throws java.io.IOException
contentLength
in class com.squareup.okhttp.ResponseBody
java.io.IOException
public okio.BufferedSource source() throws java.io.IOException
source
in class com.squareup.okhttp.ResponseBody
java.io.IOException