Modifier and Type | Method and Description |
---|---|
ResponseBody |
Response.body() |
static ResponseBody |
ResponseBody.create(MediaType contentType,
byte[] content)
Returns a new response body that transmits
content . |
static ResponseBody |
ResponseBody.create(MediaType contentType,
long contentLength,
okio.BufferedSource content)
Returns a new response body that transmits
content . |
static ResponseBody |
ResponseBody.create(MediaType contentType,
String content)
Returns a new response body that transmits
content . |
Modifier and Type | Method and Description |
---|---|
Response.Builder |
Response.Builder.body(ResponseBody body) |
Copyright © 2016. All Rights Reserved.