public <T> T handleResponse(final HttpClientResponseHandler<T> handler) throws IOException {
        assertNotConsumed();
        try {
            return handler.handleResponse(this.response);
        } catch (final HttpException ex) {
            throw new ClientProtocolException(ex);
        } finally {
            dispose();
        }
    }
Handles the response using the specified {@link HttpClientResponseHandler}
httpclient5-fluent/src/main/java/org/apache/hc/client5/http/fluent/Response.java