(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?


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.

Reply via email to