public class StreamRequestBody
extends okhttp3.RequestBody
| 构造器和说明 |
|---|
StreamRequestBody(okhttp3.MediaType contentType,
InputStream inputStream) |
| 限定符和类型 | 方法和说明 |
|---|---|
okhttp3.MediaType |
contentType() |
boolean |
isOneShot() |
void |
writeTo(okio.BufferedSink sink) |
public StreamRequestBody(okhttp3.MediaType contentType,
InputStream inputStream)
public okhttp3.MediaType contentType()
contentType 在类中 okhttp3.RequestBodypublic void writeTo(okio.BufferedSink sink)
throws IOException
writeTo 在类中 okhttp3.RequestBodyIOExceptionpublic boolean isOneShot()
isOneShot 在类中 okhttp3.RequestBodyCopyright © 2025 zhouxu. All rights reserved.