Class ProgressRequestBody


  • public class ProgressRequestBody
    extends com.squareup.okhttp.RequestBody

    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  ProgressRequestBody.ProgressRequestListener
      This class subject to change without prior notice, Please dont use this class directly.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long contentLength()  
      com.squareup.okhttp.MediaType contentType()  
      void writeTo​(okio.BufferedSink sink)  
      • Methods inherited from class com.squareup.okhttp.RequestBody

        create, create, create, create, create
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • contentType

        public com.squareup.okhttp.MediaType contentType()
        Specified by:
        contentType in class com.squareup.okhttp.RequestBody
      • contentLength

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

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