Package com.aspose.tasks.cloud
Class ProgressResponseBody
java.lang.Object
com.squareup.okhttp.ResponseBody
com.aspose.tasks.cloud.ProgressResponseBody
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class ProgressResponseBody
extends com.squareup.okhttp.ResponseBody
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionProgressResponseBody
(com.squareup.okhttp.ResponseBody responseBody, ProgressResponseBody.ProgressListener progressListener) -
Method Summary
Modifier and TypeMethodDescriptionlong
com.squareup.okhttp.MediaType
okio.BufferedSource
source()
Methods inherited from class com.squareup.okhttp.ResponseBody
bytes, byteStream, charStream, close, create, create, create, string
-
Constructor Details
-
ProgressResponseBody
public ProgressResponseBody(com.squareup.okhttp.ResponseBody responseBody, ProgressResponseBody.ProgressListener progressListener)
-
-
Method Details
-
contentType
public com.squareup.okhttp.MediaType contentType()- Specified by:
contentType
in classcom.squareup.okhttp.ResponseBody
-
contentLength
- Specified by:
contentLength
in classcom.squareup.okhttp.ResponseBody
- Throws:
IOException
-
source
- Specified by:
source
in classcom.squareup.okhttp.ResponseBody
- Throws:
IOException
-