Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4052

Add org.apache.wicket.request.Response.write(byte[], int, int) to make it easier to write buffered data to the web response

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1
    • wicket
    • None

    Description

      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.

      Attachments

        1. WICKET-4052.patch
          8 kB
          Martin Tzvetanov Grigorov

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: