Package sh.ory.keto
Class ProgressResponseBody
- java.lang.Object
-
- okhttp3.ResponseBody
-
- sh.ory.keto.ProgressResponseBody
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class ProgressResponseBody extends okhttp3.ResponseBody
-
-
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()
-
-
-
Constructor Detail
-
ProgressResponseBody
public ProgressResponseBody(okhttp3.ResponseBody responseBody, ApiCallback callback)
-
-
Method Detail
-
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
-
-