org.apache.hc.core5.http.io

## Interface HttpClientResponseHandler<T>

-     public interface HttpClientResponseHandler<T>

  Handler that encapsulates the process of generating a response object from a `ClassicHttpResponse`.
  Since:
    4.0

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `handleResponse(ClassicHttpResponse response)` Processes an `ClassicHttpResponse` and returns some value corresponding to that response.

- - ### Method Detail

    - #### handleResponse

          T handleResponse(ClassicHttpResponse response)
                           throws HttpException,
                                  IOException

      Processes an `ClassicHttpResponse` and returns some value corresponding to that response.
      Parameters:
        `response` - The response to process
      Returns:
        A value determined by the response
      Throws:
        `IOException` - in case of a problem or the connection was aborted
        `HttpException`

Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.