Package sh.ory
Class ProgressRequestBody
java.lang.Object
okhttp3.RequestBody
sh.ory.ProgressRequestBody
public class ProgressRequestBody
extends okhttp3.RequestBody
-
Nested Class Summary
Nested classes/interfaces inherited from class okhttp3.RequestBody
okhttp3.RequestBody.Companion
-
Field Summary
Fields inherited from class okhttp3.RequestBody
Companion
-
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)
Methods inherited from class okhttp3.RequestBody
create, create, create, create, create, create, create, create, create, create, create, create, create, isDuplex, isOneShot
-
Constructor Details
-
ProgressRequestBody
-
-
Method Details
-
contentType
public okhttp3.MediaType contentType()- Specified by:
contentType
in classokhttp3.RequestBody
-
contentLength
- Overrides:
contentLength
in classokhttp3.RequestBody
- Throws:
IOException
-
writeTo
- Specified by:
writeTo
in classokhttp3.RequestBody
- Throws:
IOException
-