| Package | Description |
|---|---|
| okhttp3 | |
| okhttp3.internal.http |
| Modifier and Type | Method and Description |
|---|---|
ResponseBody |
Response.body()
|
static ResponseBody |
ResponseBody.create(MediaType
Returns a new response body that transmits
content.
|
static ResponseBody |
ResponseBody.create(MediaType
Returns a new response body that transmits
content.
|
static ResponseBody |
ResponseBody.create(MediaType
Returns a new response body that transmits
content.
|
ResponseBody |
Response.peekBody(long byteCount)
Peeks up to
byteCount bytes from the response body and returns them as a new response body.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
Response.Builder.body(ResponseBody
|
| Modifier and Type | Class and Description |
|---|---|
class |
RealResponseBody
|
| Modifier and Type | Method and Description |
|---|---|
ResponseBody |
Http2xStream.openResponseBody(Response
|
ResponseBody |
Http1xStream.openResponseBody(Response
|
ResponseBody |
HttpStream.openResponseBody(Response
Returns a stream that reads the response body.
|