private void dispose() throws IOException {
        if (this.consumed) {
            return;
        }
        try {
            final HttpEntity entity = this.response.getEntity();
            if (entity != null) {
                final InputStream content = entity.getContent();
                if (content != null) {
                    content.close();
                }
            }
        } finally {
            this.consumed = true;
            this.response.close();
        }
    }
HTTP response used by the fluent facade.

@since 4.2
httpclient5-fluent/src/main/java/org/apache/hc/client5/http/fluent/Response.java