public class ForwardingRequestBody extends RequestBody
| Constructor and Description |
|---|
ForwardingRequestBody(RequestBody delegate) |
| Modifier and Type | Method and Description |
|---|---|
long |
contentLength() |
MediaType |
contentType() |
RequestBody |
delegate() |
boolean |
isDuplex() |
java.lang.String |
toString() |
void |
writeTo(okio.BufferedSink sink) |
public ForwardingRequestBody(RequestBody delegate)
public final RequestBody delegate()
@Nullable public MediaType contentType()
contentType in class RequestBodypublic long contentLength()
throws java.io.IOException
contentLength in class RequestBodyjava.io.IOExceptionpublic void writeTo(okio.BufferedSink sink)
throws java.io.IOException
writeTo in class RequestBodyjava.io.IOExceptionpublic boolean isDuplex()
isDuplex in class RequestBodypublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2019. All Rights Reserved.