Package org.openapitools.client
Class ProgressResponseBody
java.lang.Object
okhttp3.ResponseBody
org.openapitools.client.ProgressResponseBody
- All Implemented Interfaces:
Closeable,AutoCloseable
public class ProgressResponseBody
extends okhttp3.ResponseBody
-
Nested Class Summary
Nested classes/interfaces inherited from class okhttp3.ResponseBody
okhttp3.ResponseBody.BomAwareReader, okhttp3.ResponseBody.Companion -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate okio.BufferedSourceprivate final ApiCallbackprivate final okhttp3.ResponseBodyFields inherited from class okhttp3.ResponseBody
Companion -
Constructor Summary
ConstructorsConstructorDescriptionProgressResponseBody(okhttp3.ResponseBody responseBody, ApiCallback callback) -
Method Summary
Methods inherited from class okhttp3.ResponseBody
bytes, byteStream, byteString, charStream, close, create, create, create, create, create, create, create, create, string
-
Field Details
-
responseBody
private final okhttp3.ResponseBody responseBody -
callback
-
bufferedSource
private okio.BufferedSource bufferedSource
-
-
Constructor Details
-
ProgressResponseBody
-
-
Method Details
-
contentType
public okhttp3.MediaType contentType()- Specified by:
contentTypein classokhttp3.ResponseBody
-
contentLength
public long contentLength()- Specified by:
contentLengthin classokhttp3.ResponseBody
-
source
public okio.BufferedSource source()- Specified by:
sourcein classokhttp3.ResponseBody
-
source
private okio.Source source(okio.Source source)
-