| Summary: | Cleanup and refactor HtmlResponseWriter | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ralf Sternberg <rsternberg> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | ruediger.herrmann, stephan.leichtvogt |
| Version: | 1.4 | ||
| Target Milestone: | 1.4 M7 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 311355 | ||
|
Description
Ralf Sternberg
Removed all unneeded methods from class HtmlResponseWriter and renamed it to JavaScriptResponseWriter to reflect its only current purpose. It should now be easy to change it to direct streaming mode. However, this should be done together with the protocol changes. Changes are in CVS HEAD. Why do the write-methods throw an IOException? None of the called methods in those write-methods do throw an IOException? The write method throw IOException for historical reasons (the HtmlResponseWriter was modeled after the JSF response writer). However, I agree with you that these methods should no longer throw IOException. As per 2011-04-11 the IOException is gone and the method set of the JavascriptResponseWriter is reduced to the necessary minimum. Thanks, looks good. |