Package | Description |
---|---|
retrofit.client | |
retrofit.converter | |
retrofit.mime |
Modifier and Type | Method and Description |
---|---|
TypedInput |
Response.getBody()
Response body.
|
Constructor and Description |
---|
Response(String url,
int status,
String reason,
List<Header> headers,
TypedInput body) |
Modifier and Type | Method and Description |
---|---|
Object |
GsonConverter.fromBody(TypedInput body,
Type type) |
Object |
Converter.fromBody(TypedInput body,
Type type)
Convert an HTTP response body to a concrete object of the specified type.
|
Modifier and Type | Class and Description |
---|---|
class |
TypedByteArray
Byte array and its mime type.
|
class |
TypedFile
File and its mime type.
|
class |
TypedString |
Copyright © 2015 Square, Inc.. All Rights Reserved.