类 RepeatableRequestEntity
java.lang.Object
okhttp3.RequestBody
cn.warpin.thirdPart.huawei.obs.obs.services.internal.RepeatableRequestEntity
- 所有已实现的接口:
Closeable,AutoCloseable
-
嵌套类概要
从类继承的嵌套类/接口 okhttp3.RequestBody
okhttp3.RequestBody.Companion -
字段概要
字段修饰符和类型字段说明private longprivate longprivate Stringprivate InputStreamprivate static final ILoggerprivate static final int从类继承的字段 okhttp3.RequestBody
Companion -
构造器概要
构造器构造器说明RepeatableRequestEntity(InputStream is, String contentType, long contentLength, ObsProperties obsProperties) -
方法概要
修饰符和类型方法说明voidclose()longokhttp3.MediaTypebooleanvoidwriteTo(okio.BufferedSink sink) protected voidwriteToBIO(okio.BufferedSink out) 从类继承的方法 okhttp3.RequestBody
create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, gzip, isDuplex, isOneShot
-
字段详细资料
-
INTERFACE_LOG
-
contentType
-
contentLength
private long contentLength -
bytesWritten
private volatile long bytesWritten -
inputStream
-
WRITE_BUFFER_SIZE
private static final int WRITE_BUFFER_SIZE- 另请参阅:
-
-
构造器详细资料
-
RepeatableRequestEntity
public RepeatableRequestEntity(InputStream is, String contentType, long contentLength, ObsProperties obsProperties)
-
-
方法详细资料
-
contentLength
- 覆盖:
contentLength在类中okhttp3.RequestBody- 抛出:
IOException
-
isRepeatable
public boolean isRepeatable() -
writeToBIO
- 抛出:
IOException
-
contentType
public okhttp3.MediaType contentType()- 指定者:
contentType在类中okhttp3.RequestBody
-
writeTo
- 指定者:
writeTo在类中okhttp3.RequestBody- 抛出:
IOException
-
close
- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 抛出:
IOException
-