Package video.api.client.api
Class ProgressRequestBody
java.lang.Object
okhttp3.RequestBody
video.api.client.api.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 longcontentLength()okhttp3.MediaTypecontentType()voidwriteTo(okio.BufferedSink sink)Methods inherited from class okhttp3.RequestBody
create, create, create, create, create, isDuplex, isOneShotMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ProgressRequestBody
-
-
Method Details
-
contentType
public okhttp3.MediaType contentType()- Specified by:
contentTypein classokhttp3.RequestBody
-
contentLength
public long contentLength() throws java.io.IOException- Overrides:
contentLengthin classokhttp3.RequestBody- Throws:
java.io.IOException
-
writeTo
public void writeTo(okio.BufferedSink sink) throws java.io.IOException- Specified by:
writeToin classokhttp3.RequestBody- Throws:
java.io.IOException
-