-
- All Implemented Interfaces:
-
io.ably.lib.http.HttpCore.RequestBody
public class HttpUtils.ByteArrayRequestBody implements HttpCore.RequestBody
A RequestBody wrapping a byte array
-
-
Field Summary
Fields Modifier and Type Field Description private final StringcontentType
-
Constructor Summary
Constructors Constructor Description HttpUtils.ByteArrayRequestBody(Array<byte> bytes, String contentType)
-
Method Summary
Modifier and Type Method Description StringgetContentType()Array<byte>getEncoded()-
-
Method Detail
-
getContentType
String getContentType()
-
getEncoded
Array<byte> getEncoded()
-
-
-
-