You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2015/02/05 20:13:49 UTC

[Bug 45014] Request and Response classes should have wrappers for use in Valves

https://issues.apache.org/bugzilla/show_bug.cgi?id=45014

--- Comment #2 from mr.oliver.hernandez@gmail.com ---
I 100% agree that this should be added.

I'm running into the use case where I need to read a request's input stream,
and per the javadoc for Valve, I must wrap the request before passing it on.

It would be really convenient to either provide a wrapper in the API, or
re-design the API to the standard servlet interfaces and have invoke() accept a
reference to HttpServletRequest instead of the concrete class Request.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org