Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
      • Methods inherited from class java.lang.Object

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

      • ProgressRequestBody

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

      • 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