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 IOException
contentLength
in class com.squareup.okhttp.ResponseBody
IOException
public okio.BufferedSource source() throws IOException
source
in class com.squareup.okhttp.ResponseBody
IOException
Copyright © 2019 DocDoku. All rights reserved.