<div dir="ltr"><div dir="ltr">io.undertow.server.HttpServerExchange#addResponseWrapper lets you add a conduit that can modify the response.<br></div><div dir="ltr"><br></div><div>Stuart</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 22, 2019 at 11:13 PM Andrea Di Cesare &lt;<a href="mailto:andrea@softinstigate.com">andrea@softinstigate.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi <a href="mailto:undertow-dev@lists.jboss.org" target="_blank">undertow-dev</a>,</div><div dir="ltr"><br></div><div dir="ltr">I&#39;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.</div><div dir="ltr"><br></div><div>HttpServerExchange.addResponseCommitListener() allows to modify the response and using it I&#39;m able, for instance, to add a response header but not modifyng the content from the backend since it is not available.</div><div><br></div><div>Is it possible? What are the suggested ways of implementing this behavior?</div><div><br></div><div>Thanks,</div><div> Andrea Di Cesare</div><div dir="ltr"><br></div><div dir="ltr"><br></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
undertow-dev mailing list<br>
<a href="mailto:undertow-dev@lists.jboss.org" target="_blank">undertow-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/undertow-dev</a></blockquote></div>