[ 
https://issues.apache.org/jira/browse/WICKET-4052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov updated WICKET-4052:
------------------------------------

    Attachment: WICKET-4052.patch

The suggested patch.

> 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
>         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

        

Reply via email to