[undertow-dev] Rewrite response headers in ProxyHandler
adrian.mitev at gmail.com
Thu Apr 23 00:23:44 EDT 2015
That worked. Thank you very much for the help!
On Thu, Apr 23, 2015 at 2:48 AM, Stuart Douglas <sdouglas at redhat.com> wrote:
> You can use
> io.undertow.server.HttpServerExchange#addResponseCommitListener to modify
> the response before it is sent to the client. Install a handler before the
> proxy handler that adds one of these to the exchange.
> ----- Original Message -----
> > From: "Adrian Mitev" <adrian.mitev at gmail.com>
> > To: undertow-dev at lists.jboss.org
> > Sent: Thursday, 23 April, 2015 2:12:31 AM
> > Subject: [undertow-dev] Rewrite response headers in ProxyHandler
> > Hi all! I have a ProxyHandler that proxies specific path. However I need
> > overwrite the response headers returned by the remote path. Is it
> > to do that? I explored the PredicatesHandler but couldn't find a way with
> > it.
> > _______________________________________________
> > undertow-dev mailing list
> > undertow-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/undertow-dev
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the undertow-dev