Package com.orbipay.paymentsapi.internal
Class ProgressResponseBody
- java.lang.Object
-
- com.squareup.okhttp.ResponseBody
-
- com.orbipay.paymentsapi.internal.ProgressResponseBody
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class ProgressResponseBody extends com.squareup.okhttp.ResponseBody
This class subject to change without prior notice, Please dont use this class directly.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ProgressResponseBody.ProgressListener
This class subject to change without prior notice, Please dont use this class directly.
-
Constructor Summary
Constructors Constructor Description ProgressResponseBody(com.squareup.okhttp.ResponseBody responseBody, ProgressResponseBody.ProgressListener progressListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
contentLength()
com.squareup.okhttp.MediaType
contentType()
okio.BufferedSource
source()
-
-
-
Constructor Detail
-
ProgressResponseBody
public ProgressResponseBody(com.squareup.okhttp.ResponseBody responseBody, ProgressResponseBody.ProgressListener progressListener)
-
-
Method Detail
-
contentType
public com.squareup.okhttp.MediaType contentType()
- Specified by:
contentType
in classcom.squareup.okhttp.ResponseBody
-
contentLength
public long contentLength() throws java.io.IOException
- Specified by:
contentLength
in classcom.squareup.okhttp.ResponseBody
- Throws:
java.io.IOException
-
source
public okio.BufferedSource source() throws java.io.IOException
- Specified by:
source
in classcom.squareup.okhttp.ResponseBody
- Throws:
java.io.IOException
-
-