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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment