public static class Serialisation.HttpResponseHandler<T> extends java.lang.Object implements HttpCore.ResponseHandler<T>
| Constructor and 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) |
| Modifier and Type | Method and Description |
|---|---|
T |
handleResponse(HttpCore.Response response,
ErrorInfo error) |
public HttpResponseHandler(java.lang.Class<T> klass, Serialisation.FromJsonElement<T> converter)
public HttpResponseHandler()
public T handleResponse(HttpCore.Response response, ErrorInfo error) throws AblyException
handleResponse in interface HttpCore.ResponseHandler<T>AblyException