public interface ResponseHandler
HttpResponse
.Modifier and Type | Method and Description |
---|---|
java.lang.String |
handleResponse(HttpResponse response)
Processes an
HttpResponse and returns some value
corresponding to that response. |
java.lang.String 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