public class ProgressTouchableRequestBody<T extends OSSRequest>
extends okhttp3.RequestBody
构造器和说明 |
---|
ProgressTouchableRequestBody(java.io.InputStream input,
long contentLength,
java.lang.String contentType,
ExecutionContext context) |
限定符和类型 | 方法和说明 |
---|---|
long |
contentLength() |
okhttp3.MediaType |
contentType() |
void |
writeTo(okio.BufferedSink sink) |
public ProgressTouchableRequestBody(java.io.InputStream input, long contentLength, java.lang.String contentType, ExecutionContext context)
public okhttp3.MediaType contentType()
contentType
在类中 okhttp3.RequestBody
public long contentLength() throws java.io.IOException
contentLength
在类中 okhttp3.RequestBody
java.io.IOException
public void writeTo(okio.BufferedSink sink) throws java.io.IOException
writeTo
在类中 okhttp3.RequestBody
java.io.IOException