public final class AsyncRequestBody extends RequestBody
| Constructor | Description |
|---|---|
AsyncRequestBody() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
assertNoMoreSinks() |
|
MediaType |
contentType() |
|
boolean |
isDuplex() |
|
okio.BufferedSink |
takeSink() |
|
void |
writeTo(okio.BufferedSink sink) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontentLength, 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 © 2020. All Rights Reserved.