I'm using ProxyHandler with LoadBalancingProxyClient and in some cases I need to modify the response content received from the backed before sending it to the client.

HttpServerExchange.addResponseCommitListener() allows to modify the response and using it I'm able, for instance, to add a response header but not modifyng the content from the backend since it is not available.

Is it possible? What are the suggested ways of implementing this behavior?

Thanks,
 Andrea Di Cesare