public static class Http.JSONRequestBody extends java.lang.Object implements Http.RequestBody
| Constructor and Description |
|---|
JSONRequestBody(java.lang.Object ob) |
JSONRequestBody(java.lang.String jsonText) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContentType() |
byte[] |
getEncoded() |
public JSONRequestBody(java.lang.String jsonText)
public JSONRequestBody(java.lang.Object ob)
public byte[] getEncoded()
getEncoded in interface Http.RequestBodypublic java.lang.String getContentType()
getContentType in interface Http.RequestBody