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 it). > > I tried hacking a wrapper for the Request together and pass that into the getNext().invoke , but not much luck yet (seems to be some state in the underlying coyoteStream/Request/Inputbuffer....) > > I can't imagine I'm the first to encounter this and yet I can't find a good wrapper example on the internet. > > Anybody better suggestions?
You may want to check this enhancement [1]. Regards, Violeta [1] https://bz.apache.org/bugzilla/show_bug.cgi?id=45014 > > > CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.