Package | Description |
---|---|
retrofit.client | |
retrofit.converter | |
retrofit.mime |
Modifier and Type | Method and Description |
---|---|
TypedOutput |
Request.getBody()
Returns the request body or
null . |
Constructor and Description |
---|
Request(String method,
String url,
List<Header> headers,
TypedOutput body) |
Modifier and Type | Method and Description |
---|---|
TypedOutput |
GsonConverter.toBody(Object object) |
TypedOutput |
Converter.toBody(Object object)
Convert and object to an appropriate representation for HTTP transport.
|
Modifier and Type | Class and Description |
---|---|
class |
FormUrlEncodedTypedOutput |
class |
MultipartTypedOutput |
class |
TypedByteArray
Byte array and its mime type.
|
class |
TypedFile
File and its mime type.
|
class |
TypedString |
Modifier and Type | Method and Description |
---|---|
void |
MultipartTypedOutput.addPart(String name,
TypedOutput body) |
Copyright © 2013 Square, Inc.. All Rights Reserved.