T - the type of the response.@FunctionalInterface public interface HttpClientResponseHandler<T>
ClassicHttpResponse.| Modifier and Type | Method and Description |
|---|---|
T |
handleResponse(ClassicHttpResponse response)
Processes an
ClassicHttpResponse and returns some value
corresponding to that response. |
T handleResponse(ClassicHttpResponse response) throws HttpException, IOException
ClassicHttpResponse and returns some value
corresponding to that response.response - The response to processIOException - in case of a problem or the connection was abortedHttpException - in case of an HTTP protocol violation.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.