Class ProgressRequestBody


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

      • contentType

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

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

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