Re: Tomcat Valve doing Request.getParameter() consumes the stream

2015-05-29 Thread Violeta Georgieva
Hi, 2015-05-28 22:44 GMT+03:00 Teunissen,Peter peter.teunis...@cerner.com: (Tomcat 7) I am writing a Valve that does a getParameter on the Request. At the end of the Valve/Filter chain is a servlet that calls HttpServletRequest.getReader() returning an empty buffer (because the Valve consumed

Re: Tomcat Valve doing Request.getParameter() consumes the stream

2015-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Peter, On 5/28/15 3:44 PM, Teunissen,Peter wrote: (Tomcat 7) I am writing a Valve that does a getParameter on the Request. At the end of the Valve/Filter chain is a servlet that calls HttpServletRequest.getReader() returning an empty buffer

Tomcat Valve doing Request.getParameter() consumes the stream

2015-05-28 Thread Teunissen,Peter
(Tomcat 7) I am writing a Valve that does a getParameter on the Request. At the end of the Valve/Filter chain is a servlet that calls HttpServletRequest.getReader() returning an empty buffer (because the Valve consumed it). I tried hacking a wrapper for the Request together and pass that into