类 RepeatableRequestEntity

java.lang.Object
okhttp3.RequestBody
cn.warpin.thirdPart.huawei.obs.obs.services.internal.RepeatableRequestEntity
所有已实现的接口:
Closeable, AutoCloseable

public class RepeatableRequestEntity extends okhttp3.RequestBody implements Closeable
  • 字段详细资料

    • INTERFACE_LOG

      private static final ILogger INTERFACE_LOG
    • contentType

      private String contentType
    • contentLength

      private long contentLength
    • bytesWritten

      private volatile long bytesWritten
    • inputStream

      private InputStream inputStream
    • WRITE_BUFFER_SIZE

      private static final int WRITE_BUFFER_SIZE
      另请参阅:
  • 构造器详细资料

  • 方法详细资料

    • contentLength

      public long contentLength() throws IOException
      覆盖:
      contentLength 在类中 okhttp3.RequestBody
      抛出:
      IOException
    • isRepeatable

      public boolean isRepeatable()
    • writeToBIO

      protected void writeToBIO(okio.BufferedSink out) throws IOException
      抛出:
      IOException
    • contentType

      public okhttp3.MediaType contentType()
      指定者:
      contentType 在类中 okhttp3.RequestBody
    • writeTo

      public void writeTo(okio.BufferedSink sink) throws IOException
      指定者:
      writeTo 在类中 okhttp3.RequestBody
      抛出:
      IOException
    • close

      public void close() throws IOException
      指定者:
      close 在接口中 AutoCloseable
      指定者:
      close 在接口中 Closeable
      抛出:
      IOException