Class HttpUtils.JsonRequestBody

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

public static class HttpUtils.JsonRequestBody
extends java.lang.Object
implements HttpCore.RequestBody
A RequestBody wrapping a JSON-serialisable object
  • Constructor Summary

    Constructors 
    Constructor Description
    JsonRequestBody​(java.lang.Object ob)  
    JsonRequestBody​(java.lang.String jsonText)  
  • 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