public interface ResponseHandler<T>
HttpResponse
.Modifier and Type | Method and Description |
---|---|
T |
handleResponse(HttpResponse response)
Processes an
HttpResponse and returns some value
corresponding to that response. |
T handleResponse(HttpResponse response) throws ClientProtocolException, java.io.IOException
HttpResponse
and returns some value
corresponding to that response.response
- The response to processClientProtocolException
- in case of an http protocol errorjava.io.IOException
- in case of a problem or the connection was aborted