Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324377

Summary: Dispatch should be able to accept ServletRequest and ServletResponse
Product: [RT] Jetty Reporter: David Jencks <david.a.jencks>
Component: serverAssignee: Greg Wilkins <gregw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jetty-inbox
Version: 8.0.0   
Target Milestone: 7.1.x   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description David Jencks CLA 2010-09-03 02:22:20 EDT
The dispatcher operations have ServletRequest and ServletResponse parameters but jetty's Dispatcher casts them to HttpServletRequest and HttpServletResponse.  A nasty thoughtless client might wrap the nice shiny HttpServletRequest/Response it's given with ServletRequest/ResponseWrapper in order to say "gotcha"
Comment 1 Greg Wilkins CLA 2010-09-03 03:06:21 EDT
fixed by wrapping them as HttpServletR* and then unwrapping in ServletHandler (yuck).

r2244