Roel, On 12/16/15 4:56 AM, Roel Storms wrote: > It should, if you implement parseParameter and all these other methods > before getStream is called, in the wrapper itself. But since you haven't > implemented HttpServletRequest.getParameter* in you example Filter, you > will end up using Request.getParameter* which will not use > the HttpServletRequest.getStream since it has no knowledge of this wrapper. > The wrapped object never uses the wrapped implementation of methods since > it has no knowledge of the wrapping.
I'm sorry I wasn't clear, but I was suggesting that you use my Filter as inspiration for writing a Valve. The Valve wouldn't wrap HttpServletRequest. Instead, it would wrap Tomcat's coyote Request class, which *is* used to fetch the input stream (or reader). -chris --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org