public interface ResponseHandler<T>
HttpResponse.| Modifier and Type | Method and Description |
|---|---|
T |
handleResponse(org.apache.http.HttpResponse response)
Processes an
HttpResponse and returns some value
corresponding to that response. |
T handleResponse(org.apache.http.HttpResponse response) throws ClientProtocolException, IOException
HttpResponse and returns some value
corresponding to that response.response - The response to processClientProtocolException - in case of an http protocol errorIOException - in case of a problem or the connection was abortedCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.