-
- All Implemented Interfaces:
-
io.ably.lib.http.HttpCore.ResponseHandler
public class Serialisation.HttpResponseHandler<T> implements HttpCore.ResponseHandler<T>
-
-
Constructor Summary
Constructors Constructor Description Serialisation.HttpResponseHandler(Class<T> klass, Serialisation.FromJsonElement<T> converter)Serialisation.HttpResponseHandler()If the target type extends JsonElement, we don't need to convert JsonElements toit.
-
Method Summary
Modifier and Type Method Description ThandleResponse(HttpCore.Response response, ErrorInfo error)-
-
Constructor Detail
-
Serialisation.HttpResponseHandler
Serialisation.HttpResponseHandler(Class<T> klass, Serialisation.FromJsonElement<T> converter)
-
Serialisation.HttpResponseHandler
Serialisation.HttpResponseHandler()
If the target type extends JsonElement, we don't need to convert JsonElements toit.
-
-
Method Detail
-
handleResponse
T handleResponse(HttpCore.Response response, ErrorInfo error)
-
-
-
-