public abstract class JsonHttpResponseHandler
extends java.lang.Object
implements net.lenni0451.commons.httpclient.handler.HttpResponseHandler<com.google.gson.JsonObject>
| Constructor and Description |
|---|
JsonHttpResponseHandler() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonObject |
handle(net.lenni0451.commons.httpclient.HttpResponse response) |
protected abstract void |
handleJsonError(net.lenni0451.commons.httpclient.HttpResponse response,
com.google.gson.JsonObject obj) |
public com.google.gson.JsonObject handle(net.lenni0451.commons.httpclient.HttpResponse response)
throws java.io.IOException
handle in interface net.lenni0451.commons.httpclient.handler.HttpResponseHandler<com.google.gson.JsonObject>java.io.IOExceptionprotected abstract void handleJsonError(net.lenni0451.commons.httpclient.HttpResponse response,
com.google.gson.JsonObject obj)
throws java.io.IOException
java.io.IOException