类 ProgressRequestBody


  • public class ProgressRequestBody
    extends okhttp3.RequestBody
    • 构造器详细资料

      • ProgressRequestBody

        public ProgressRequestBody​(okhttp3.RequestBody requestBody,
                                   ApiCallback callback)
    • 方法详细资料

      • contentType

        public okhttp3.MediaType contentType()
        指定者:
        contentType 在类中 okhttp3.RequestBody
      • contentLength

        public long contentLength()
                           throws IOException
        覆盖:
        contentLength 在类中 okhttp3.RequestBody
        抛出:
        IOException
      • writeTo

        public void writeTo​(okio.BufferedSink sink)
                     throws IOException
        指定者:
        writeTo 在类中 okhttp3.RequestBody
        抛出:
        IOException