Class ProgressResponseBody

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

    public class ProgressResponseBody
    extends com.squareup.okhttp.ResponseBody

    This class subject to change without prior notice, Please dont use this class directly.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  ProgressResponseBody.ProgressListener
      This class subject to change without prior notice, Please dont use this class directly.
    • Method Summary

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

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

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

      • contentType

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

        public long contentLength()
                           throws java.io.IOException
        Specified by:
        contentLength in class com.squareup.okhttp.ResponseBody
        Throws:
        java.io.IOException
      • source

        public okio.BufferedSource source()
                                   throws java.io.IOException
        Specified by:
        source in class com.squareup.okhttp.ResponseBody
        Throws:
        java.io.IOException