Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318105 - continuation.getResponse should return null unless suspend(response) was used.
Summary: continuation.getResponse should return null unless suspend(response) was used.
Status: CLOSED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: 7.1.4   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 7.1.x   Edit
Assignee: Greg Wilkins CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-26 21:45 EDT by Greg Wilkins CLA
Modified: 2011-09-20 15:51 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Wilkins CLA 2010-06-26 21:45:20 EDT
coontinuation.getResponse only returns a response if suspend(response) was used for some continuation types. For portability this should be made consistent for all continuation types.
Comment 1 Greg Wilkins CLA 2011-02-23 00:05:49 EST
made getServletResponse consistently return null if suspend(response) was not called.  getResponse still provides the response as it is not part of standard API.

r2823
Comment 2 Greg Wilkins CLA 2011-02-23 17:06:59 EST
Oops went the wrong way.
It should always return the response and it appears that it was already fixed by passing in the response on enter()

resent changes backed out.
Comment 3 Jesse McConnell CLA 2011-09-20 15:51:53 EDT
Resolved -> Closed