Are you talking about changing the response body or just the headers?
Stuart
----- Original Message -----
From: "ralf battenfeld" <ralf.battenfeld(a)bluewin.ch>
To: undertow-dev(a)lists.jboss.org
Sent: Saturday, 9 May, 2015 9:23:48 PM
Subject: [undertow-dev] Changing proxy response
Hi
I am looking for a way to use the LoadBalancingProxyClient that changes the
response received from the backend server. I came up with configuring a
ResponseCommitListener. Is this the correct way of manipulating the response
within the beforeCommit() call?
If yes, how can I change the response with the given HttpServerExchange
instance? If not, what would be the best way to achieve this?
Thanks a lot for any help.
Ralf
_______________________________________________
undertow-dev mailing list
undertow-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/undertow-dev