Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343125 - Make JavaScriptResponseWriter streaming capable
Summary: Make JavaScriptResponseWriter streaming capable
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 1.4 M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-18 06:02 EDT by Ralf Sternberg CLA
Modified: 2011-04-18 08:26 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Sternberg CLA 2011-04-18 06:02:54 EDT
Currently, the JSRW buffers strings and writes the entire response in one chunk. It could as well write parts directly into the response's output stream.
Comment 1 Ralf Sternberg CLA 2011-04-18 08:26:59 EDT
JavaScriptResponseWriter is now created with the response's PrintWriter as constructor parameter and writes directly into this writer. Changes are in CVS HEAD.