final class StreamedRequestBody extends OutputStreamRequestBody implements UnrepeatableRequestBody
| Modifier and Type | Field and Description |
|---|---|
private okio.Pipe |
pipe |
closed| Constructor and Description |
|---|
StreamedRequestBody(long expectedContentLength) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeTo(okio.BufferedSink sink)
Writes the content of this request to
sink. |
contentLength, contentType, initOutputStream, isClosed, outputStream, prepareToSendRequest, timeoutpublic void writeTo(okio.BufferedSink sink)
throws java.io.IOException
RequestBodysink.writeTo in class RequestBodyjava.io.IOException