Class Serialisation.HttpBodyHandler<T>

java.lang.Object
io.ably.lib.util.Serialisation.HttpBodyHandler<T>
All Implemented Interfaces:
HttpCore.BodyHandler<T>
Enclosing class:
Serialisation

public static class Serialisation.HttpBodyHandler<T>
extends java.lang.Object
implements HttpCore.BodyHandler<T>
  • Constructor Summary

    Constructors 
    Constructor Description
    HttpBodyHandler()
    If the target type extends JsonElement, we don't need to convert JsonElements to it.
    HttpBodyHandler​(java.lang.Class<T[]> klass, Serialisation.FromJsonElement<T> converter)  
  • Method Summary

    Modifier and Type Method Description
    T[] handleResponseBody​(java.lang.String contentType, byte[] body)  

    Methods inherited from class java.lang.Object

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