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
    long contentLength()  
    okhttp3.MediaType contentType()  
    void writeTo​(okio.BufferedSink sink)  

    Methods inherited from class okhttp3.RequestBody

    create, create, create, create, create, isDuplex, isOneShot

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ProgressRequestBody

      public ProgressRequestBody​(okhttp3.RequestBody requestBody, ApiCallback callback)
  • Method Details

    • contentType

      public okhttp3.MediaType contentType()
      Specified by:
      contentType in class okhttp3.RequestBody
    • contentLength

      public long contentLength() throws java.io.IOException
      Overrides:
      contentLength in class okhttp3.RequestBody
      Throws:
      java.io.IOException
    • writeTo

      public void writeTo​(okio.BufferedSink sink) throws java.io.IOException
      Specified by:
      writeTo in class okhttp3.RequestBody
      Throws:
      java.io.IOException