public final class AsyncRequestBody extends RequestBody
| Constructor and Description |
|---|
AsyncRequestBody() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertNoMoreSinks() |
MediaType |
contentType() |
boolean |
isDuplex() |
okio.BufferedSink |
takeSink() |
void |
writeTo(okio.BufferedSink sink) |
contentLength, create, create, create, create, create, isOneShot@Nullable public MediaType contentType()
contentType in class RequestBodypublic void writeTo(okio.BufferedSink sink)
writeTo in class RequestBodypublic boolean isDuplex()
isDuplex in class RequestBodypublic okio.BufferedSink takeSink()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void assertNoMoreSinks()
Copyright © 2019. All Rights Reserved.