Class ProgressResponseBody

java.lang.Object
okhttp3.ResponseBody
org.openapitools.client.ProgressResponseBody
All Implemented Interfaces:
Closeable, 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
    Modifier and Type
    Field
    Description
    private okio.BufferedSource
     
    private final ApiCallback
     
    private final okhttp3.ResponseBody
     

    Fields inherited from class okhttp3.ResponseBody

    Companion
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProgressResponseBody(okhttp3.ResponseBody responseBody, ApiCallback callback)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    okhttp3.MediaType
     
    okio.BufferedSource
     
    private okio.Source
    source(okio.Source 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
  • Field Details

    • responseBody

      private final okhttp3.ResponseBody responseBody
    • callback

      private final ApiCallback callback
    • bufferedSource

      private okio.BufferedSource bufferedSource
  • Constructor Details

    • ProgressResponseBody

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

    • 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
    • source

      private okio.Source source(okio.Source source)