public class ProgressResponseBody
extends okhttp3.ResponseBody
Constructor and Description |
---|
ProgressResponseBody(okhttp3.ResponseBody responseBody,
ProgressListener progressListener) |
Modifier and Type | Method and Description |
---|---|
long |
contentLength() |
okhttp3.MediaType |
contentType() |
okio.BufferedSource |
source() |
long |
totalBytesRead() |
public ProgressResponseBody(okhttp3.ResponseBody responseBody, ProgressListener progressListener)
public okhttp3.MediaType contentType()
contentType
in class okhttp3.ResponseBody
public long contentLength()
contentLength
in class okhttp3.ResponseBody
public long totalBytesRead()
public okio.BufferedSource source()
source
in class okhttp3.ResponseBody