public final class StreamedBody extends OutputStreamBody implements UnrepeatableBody
| Constructor and Description |
|---|
StreamedBody(long expectedContentLength) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeTo(BufferSink sink)
将此请求的内容写入
sink |
contentLength, contentType, initOutputStream, isClosed, outputStream, prepareToSendRequest, timeoutpublic void writeTo(BufferSink sink) throws IOException
RequestBodysinkwriteTo in class RequestBodysink - 缓存区IOException - 异常信息Copyright © 2020. All rights reserved.