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