@Override
    public void updateCapacity(final CapacityChannel capacityChannel) throws IOException {
        entityConsumer.updateCapacity(capacityChannel);
    }
A handler that echos the incoming request entity.
httpclient5-testing/src/main/java/org/apache/hc/client5/testing/async/AsyncEchoHandler.java