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(java.lang.String method,
java.lang.String url,
java.util.List<Header> headers,
TypedOutput body) |
Modifier and Type | Method and Description |
---|---|
TypedOutput |
GsonConverter.toBody(java.lang.Object object) |
TypedOutput |
Converter.toBody(java.lang.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(java.lang.String name,
TypedOutput body) |
Copyright © 2014 Square, Inc.. All Rights Reserved.