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 RequestBody
public void writeTo(okio.BufferedSink sink)
writeTo
in class RequestBody
public boolean isDuplex()
isDuplex
in class RequestBody
public okio.BufferedSink takeSink() throws java.lang.InterruptedException
java.lang.InterruptedException
public void assertNoMoreSinks()
Copyright © 2019. All Rights Reserved.