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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.1
    • Component/s: wicket
    • Labels:
      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.

      1. WICKET-4052.patch
        8 kB
        Martin Grigorov

        Activity

        Hide
        mgrigorov Martin Grigorov added a comment -

        The suggested patch.

        Show
        mgrigorov Martin Grigorov added a comment - The suggested patch.

          People

          • Assignee:
            mgrigorov Martin Grigorov
            Reporter:
            mgrigorov Martin Grigorov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development