[undertow-dev] Changing proxy response

Stuart Douglas sdouglas at redhat.com
Mon Aug 10 02:11:02 EDT 2015


Are you talking about changing the response body or just the headers?

Stuart

----- Original Message -----
> From: "ralf battenfeld" <ralf.battenfeld at bluewin.ch>
> To: undertow-dev at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev


More information about the undertow-dev mailing list