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

Bug 318105

Summary: continuation.getResponse should return null unless suspend(response) was used.
Product: [RT] Jetty Reporter: Greg Wilkins <gregw>
Component: serverAssignee: Greg Wilkins <gregw>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: jetty-inbox, mgorovoy
Version: 7.1.4   
Target Milestone: 7.1.x   
Hardware: All   
OS: All   
Whiteboard:

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