Class ProgressResponseBody
java.lang.Object
com.squareup.okhttp.ResponseBody
de.iip_ecosphere.platform.support.semanticId.eclass.handler.ProgressResponseBody
- All Implemented Interfaces:
Closeable,AutoCloseable
public class ProgressResponseBody
extends com.squareup.okhttp.ResponseBody
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate okio.BufferedSourceprivate final ProgressResponseBody.ProgressListenerprivate final com.squareup.okhttp.ResponseBody -
Constructor Summary
ConstructorsConstructorDescriptionProgressResponseBody(com.squareup.okhttp.ResponseBody responseBody, ProgressResponseBody.ProgressListener progressListener) -
Method Summary
Methods inherited from class com.squareup.okhttp.ResponseBody
bytes, byteStream, charStream, close, create, create, create, string
-
Field Details
-
responseBody
private final com.squareup.okhttp.ResponseBody responseBody -
progressListener
-
bufferedSource
private okio.BufferedSource bufferedSource
-
-
Constructor Details
-
ProgressResponseBody
public ProgressResponseBody(com.squareup.okhttp.ResponseBody responseBody, ProgressResponseBody.ProgressListener progressListener)
-
-
Method Details
-
contentType
public com.squareup.okhttp.MediaType contentType()- Specified by:
contentTypein classcom.squareup.okhttp.ResponseBody
-
contentLength
- Specified by:
contentLengthin classcom.squareup.okhttp.ResponseBody- Throws:
IOException
-
source
- Specified by:
sourcein classcom.squareup.okhttp.ResponseBody- Throws:
IOException
-
source
private okio.Source source(okio.Source source)
-