public interface JsonHttpResponseHandler<R>
extends net.lenni0451.commons.httpclient.handler.HttpResponseHandler<R>
| Modifier and Type | Method and Description |
|---|---|
default R |
handle(net.lenni0451.commons.httpclient.HttpResponse response) |
R |
handle(net.lenni0451.commons.httpclient.HttpResponse response,
net.lenni0451.commons.gson.elements.GsonObject json) |
void |
handleError(net.lenni0451.commons.httpclient.HttpResponse response,
net.lenni0451.commons.gson.elements.GsonObject json) |
default R handle(net.lenni0451.commons.httpclient.HttpResponse response) throws java.io.IOException
handle in interface net.lenni0451.commons.httpclient.handler.HttpResponseHandler<R>java.io.IOExceptionR handle(net.lenni0451.commons.httpclient.HttpResponse response, net.lenni0451.commons.gson.elements.GsonObject json) throws java.io.IOException
java.io.IOExceptionvoid handleError(net.lenni0451.commons.httpclient.HttpResponse response,
net.lenni0451.commons.gson.elements.GsonObject json)
throws java.io.IOException
java.io.IOException