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 RequestBody
public long contentLength() throws java.io.IOException
contentLength
in class RequestBody
java.io.IOException
public void writeTo(okio.BufferedSink sink) throws java.io.IOException
writeTo
in class RequestBody
java.io.IOException
public boolean isDuplex()
isDuplex
in class RequestBody
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2019. All Rights Reserved.