Class HttpUtils.ByteArrayRequestBody

java.lang.Object
io.ably.lib.http.HttpUtils.ByteArrayRequestBody
All Implemented Interfaces:
HttpCore.RequestBody
Enclosing class:
HttpUtils

public static class HttpUtils.ByteArrayRequestBody
extends java.lang.Object
implements HttpCore.RequestBody
A RequestBody wrapping a byte array
  • Constructor Summary

    Constructors 
    Constructor Description
    ByteArrayRequestBody​(byte[] bytes, java.lang.String contentType)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getContentType()  
    byte[] getEncoded()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait