Class ProgressResponseBody

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class ProgressResponseBody
    extends okhttp3.ResponseBody
    • Nested Class Summary

      • Nested classes/interfaces inherited from class okhttp3.ResponseBody

        okhttp3.ResponseBody.BomAwareReader, okhttp3.ResponseBody.Companion
    • Field Summary

      • Fields inherited from class okhttp3.ResponseBody

        Companion
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long contentLength()  
      okhttp3.MediaType contentType()  
      okio.BufferedSource source()  
      • Methods inherited from class okhttp3.ResponseBody

        bytes, byteStream, byteString, charStream, close, create, create, create, create, create, create, create, create, string
      • Methods inherited from class java.lang.Object

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

      • ProgressResponseBody

        public ProgressResponseBody​(okhttp3.ResponseBody responseBody,
                                    ApiCallback callback)
    • Method Detail

      • contentType

        public okhttp3.MediaType contentType()
        Specified by:
        contentType in class okhttp3.ResponseBody
      • contentLength

        public long contentLength()
        Specified by:
        contentLength in class okhttp3.ResponseBody
      • source

        public okio.BufferedSource source()
        Specified by:
        source in class okhttp3.ResponseBody