You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (Created) (JIRA)" <ji...@apache.org> on 2011/11/16 20:06:51 UTC
[jira] [Created] (WICKET-4233) Allow writing response through an
OutputStream
Allow writing response through an OutputStream
----------------------------------------------
Key: WICKET-4233
URL: https://issues.apache.org/jira/browse/WICKET-4233
Project: Wicket
Issue Type: Improvement
Reporter: Igor Vaynberg
there are two problems to solve here that are related:
a) a lot of legacy code writes things like csv by getting an output stream
b) writing via response.getcontainerresponse().getoutputstream() purely will not flush the headers because they are flushed on response#write(*) methods only
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (WICKET-4233) Allow writing response through an
OutputStream
Posted by "Igor Vaynberg (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-4233.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
1.5.4
Assignee: Igor Vaynberg
> Allow writing response through an OutputStream
> ----------------------------------------------
>
> Key: WICKET-4233
> URL: https://issues.apache.org/jira/browse/WICKET-4233
> Project: Wicket
> Issue Type: Improvement
> Reporter: Igor Vaynberg
> Assignee: Igor Vaynberg
> Fix For: 1.5.4, 1.6.0
>
>
> there are two problems to solve here that are related:
> a) a lot of legacy code writes things like csv by getting an output stream
> b) writing via response.getcontainerresponse().getoutputstream() purely will not flush the headers because they are flushed on response#write(*) methods only
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (WICKET-4233) Allow writing response through an
OutputStream
Posted by "Igor Vaynberg (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151446#comment-13151446 ]
Igor Vaynberg commented on WICKET-4233:
---------------------------------------
added response#getoutputstream() that delegates to response#write(*) methods to keep things consistent
> Allow writing response through an OutputStream
> ----------------------------------------------
>
> Key: WICKET-4233
> URL: https://issues.apache.org/jira/browse/WICKET-4233
> Project: Wicket
> Issue Type: Improvement
> Reporter: Igor Vaynberg
> Assignee: Igor Vaynberg
> Fix For: 1.5.4, 1.6.0
>
>
> there are two problems to solve here that are related:
> a) a lot of legacy code writes things like csv by getting an output stream
> b) writing via response.getcontainerresponse().getoutputstream() purely will not flush the headers because they are flushed on response#write(*) methods only
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira