Class ProgressRequestBody


  • public class ProgressRequestBody
    extends okhttp3.RequestBody
    • 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 IOException
        Overrides:
        contentLength in class okhttp3.RequestBody
        Throws:
        IOException
      • writeTo

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