Package sh.ory.keto
Class ProgressResponseBody
java.lang.Object
okhttp3.ResponseBody
sh.ory.keto.ProgressResponseBody
- All Implemented Interfaces:
java.io.Closeable
,java.lang.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
Fields inherited from class okhttp3.ResponseBody
Companion
-
Constructor Summary
Constructors Constructor Description ProgressResponseBody(okhttp3.ResponseBody responseBody, ApiCallback callback)
-
Method Summary
Modifier and Type Method Description long
contentLength()
okhttp3.MediaType
contentType()
okio.BufferedSource
source()
Methods inherited from class okhttp3.ResponseBody
bytes, byteStream, byteString, charStream, close, create, create, create, create, create, create, create, create, string
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ProgressResponseBody
-
-
Method Details
-
contentType
public okhttp3.MediaType contentType()- Specified by:
contentType
in classokhttp3.ResponseBody
-
contentLength
public long contentLength()- Specified by:
contentLength
in classokhttp3.ResponseBody
-
source
public okio.BufferedSource source()- Specified by:
source
in classokhttp3.ResponseBody
-