@Override
    protected SimpleHttpResponse buildResult(final HttpResponse response, final byte[] entity, final ContentType contentType) {
        final SimpleHttpResponse simpleResponse = SimpleHttpResponse.copy(response);
        if (entity != null) {
            simpleResponse.setBody(entity, contentType);
        }
        return simpleResponse;
    }
Creates a new SimpleResponseConsumer instance initialized with a new {@code SimpleAsyncEntityConsumer}.

@return a new SimpleResponseConsumer instance.
httpclient5/src/main/java/org/apache/hc/client5/http/async/methods/SimpleResponseConsumer.java