Package sh.ory.keto
Class ProgressRequestBody
- java.lang.Object
-
- okhttp3.RequestBody
-
- sh.ory.keto.ProgressRequestBody
-
public class ProgressRequestBody extends okhttp3.RequestBody
-
-
Constructor Summary
Constructors Constructor Description ProgressRequestBody(okhttp3.RequestBody requestBody, ApiCallback callback)
-
Method Summary
Modifier and Type Method Description long
contentLength()
okhttp3.MediaType
contentType()
void
writeTo(okio.BufferedSink sink)
-
-
-
Constructor Detail
-
ProgressRequestBody
public ProgressRequestBody(okhttp3.RequestBody requestBody, ApiCallback callback)
-
-
Method Detail
-
contentType
public okhttp3.MediaType contentType()
- Specified by:
contentType
in classokhttp3.RequestBody
-
contentLength
public long contentLength() throws IOException
- Overrides:
contentLength
in classokhttp3.RequestBody
- Throws:
IOException
-
writeTo
public void writeTo(okio.BufferedSink sink) throws IOException
- Specified by:
writeTo
in classokhttp3.RequestBody
- Throws:
IOException
-
-