java.lang.Object
okhttp3.ResponseBody
com.github.charlemaznable.httpclient.ohclient.internal.OhResponseBody
所有已实现的接口:
Closeable, AutoCloseable

public final class OhResponseBody extends okhttp3.ResponseBody
  • 嵌套类概要

    从类继承的嵌套类/接口 okhttp3.ResponseBody

    okhttp3.ResponseBody.BomAwareReader, okhttp3.ResponseBody.Companion
  • 字段概要

    从类继承的字段 okhttp3.ResponseBody

    Companion
  • 构造器概要

    构造器
    构造器
    说明
    OhResponseBody(okhttp3.ResponseBody responseBody)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    long
     
    okhttp3.MediaType
     
    okio.BufferedSource
     

    从类继承的方法 okhttp3.ResponseBody

    bytes, byteStream, byteString, charStream, close, create, create, create, create, create, create, create, create, string

    从类继承的方法 java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • OhResponseBody

      public OhResponseBody(okhttp3.ResponseBody responseBody)
  • 方法详细资料

    • contentType

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

      public long contentLength()
      指定者:
      contentLength 在类中 okhttp3.ResponseBody
    • source

      @Nonnull public okio.BufferedSource source()
      指定者:
      source 在类中 okhttp3.ResponseBody