public class RequestBody extends Object
| Constructor and Description |
|---|
RequestBody() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBody() |
String |
getContentType() |
RequestBody |
setBody(byte[] body) |
RequestBody |
setContentType(String contentType) |
String |
toString() |
public byte[] getBody()
public RequestBody setBody(byte[] body)
body - the body to setpublic String getContentType()
public RequestBody setContentType(String contentType)
contentType - the contentType to setCopyright © 2015. All rights reserved.