Class Serialisation.HttpResponseHandler<T>

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

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

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

    Modifier and Type Method Description
    T handleResponse​(HttpCore.Response response, ErrorInfo error)  

    Methods inherited from class java.lang.Object

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