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.ResponseBodypublic long contentLength()
throws IOException
contentLength in class com.squareup.okhttp.ResponseBodyIOExceptionpublic okio.BufferedSource source()
throws IOException
source in class com.squareup.okhttp.ResponseBodyIOExceptionCopyright © 2021. All rights reserved.