Class ProgressResponseBody

java.lang.Object
com.squareup.okhttp.ResponseBody
com.algorand.algosdk.algod.client.ProgressResponseBody
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable

@Deprecated
public class ProgressResponseBody
extends com.squareup.okhttp.ResponseBody
Deprecated.
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static interface  ProgressResponseBody.ProgressListener
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor Description
    ProgressResponseBody​(com.squareup.okhttp.ResponseBody responseBody, ProgressResponseBody.ProgressListener progressListener)
    Deprecated.
     
  • Method Summary

    Modifier and Type Method Description
    long contentLength()
    Deprecated.
     
    com.squareup.okhttp.MediaType contentType()
    Deprecated.
     
    okio.BufferedSource source()
    Deprecated.
     

    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
  • Constructor Details

  • Method Details

    • contentType

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

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

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