Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324377 - Dispatch should be able to accept ServletRequest and ServletResponse
Summary: Dispatch should be able to accept ServletRequest and ServletResponse
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: 8.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 7.1.x   Edit
Assignee: Greg Wilkins CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-03 02:22 EDT by David Jencks CLA
Modified: 2010-09-03 03:06 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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