You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/09/14 13:51:09 UTC
[jira] [Resolved] (WICKET-4052) Add
org.apache.wicket.request.Response.write(byte[], int, int) to make it
easier to write buffered data to the web response
[ https://issues.apache.org/jira/browse/WICKET-4052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-4052.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.5.1
Assignee: Martin Grigorov
> Add org.apache.wicket.request.Response.write(byte[], int, int) to make it easier to write buffered data to the web response
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: WICKET-4052
> URL: https://issues.apache.org/jira/browse/WICKET-4052
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.5.0
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
> Fix For: 1.5.1
>
> Attachments: WICKET-4052.patch
>
>
> I needed to write buffered data from a IResource to the web response but since there is only #write(byte[]) I had to manually care about the offset and the length of the buffer.
> It would be much simpler if there is org.apache.wicket.request.Response.write(byte[] buf, int offset, int length) which will delegate this to the underlying output stream impl.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira