public class ForwardingResponseBody extends ResponseBody
| Constructor | Description |
|---|---|
ForwardingResponseBody(ResponseBody delegate) |
| Modifier and Type | Method | Description |
|---|---|---|
long |
contentLength() |
|
MediaType |
contentType() |
|
ResponseBody |
delegate() |
|
okio.BufferedSource |
source() |
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbytes, byteStream, charStream, close, create, create, create, create, stringpublic ForwardingResponseBody(ResponseBody delegate)
public final ResponseBody delegate()
@Nullable public MediaType contentType()
contentType in class ResponseBodypublic long contentLength()
contentLength in class ResponseBodypublic okio.BufferedSource source()
source in class ResponseBodypublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2020. All Rights Reserved.