We have io.undertow.server.handlers.RequestDumpingHandler, but that does
not dump the response content, just all headers etc.
If you file JIRA I can expand it to optionally dump the response content
as well. Basically it needs to call
HttpServerExchange.addResponseWrapper() and add a conduit that dumps the
request.
Stuart
Matt Clarkson wrote:
Hi,
I'd like to be able to dump Response content as a string to my logger
when tracing. I'm guessing something related to
HttpServerExchange.getResponseChannel()... but not sure where to go from
there.
thanks!
Matt
_______________________________________________
undertow-dev mailing list
undertow-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/undertow-dev