public class StreamingRequestBody
extends okhttp3.RequestBody
| Constructor and Description |
|---|
StreamingRequestBody(okhttp3.MediaType contentType,
okio.Source body) |
| Modifier and Type | Method and Description |
|---|---|
long |
contentLength() |
@Nullable okhttp3.MediaType |
contentType() |
boolean |
isOneShot() |
void |
writeTo(@NotNull okio.BufferedSink bufferedSink) |
public StreamingRequestBody(okhttp3.MediaType contentType,
okio.Source body)
@Nullable public @Nullable okhttp3.MediaType contentType()
contentType in class okhttp3.RequestBodypublic long contentLength()
contentLength in class okhttp3.RequestBodypublic boolean isOneShot()
isOneShot in class okhttp3.RequestBodypublic void writeTo(@NotNull
@NotNull okio.BufferedSink bufferedSink)
throws java.io.IOException
writeTo in class okhttp3.RequestBodyjava.io.IOException