Wicket
  1. Wicket
  2. WICKET-4233

Allow writing response through an OutputStream

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.4, 6.0.0-beta1
    • Component/s: None
    • Labels:
      None

      Description

      there are two problems to solve here that are related:

      a) a lot of legacy code writes things like csv by getting an output stream
      b) writing via response.getcontainerresponse().getoutputstream() purely will not flush the headers because they are flushed on response#write methods only

        Activity

        Igor Vaynberg created issue -
        Igor Vaynberg made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Igor Vaynberg [ ivaynberg ]
        Fix Version/s 1.5.4 [ 12319051 ]
        Fix Version/s 1.6.0 [ 12315431 ]
        Resolution Fixed [ 1 ]
        Hide
        Igor Vaynberg added a comment -

        added response#getoutputstream() that delegates to response#write methods to keep things consistent

        Show
        Igor Vaynberg added a comment - added response#getoutputstream() that delegates to response#write methods to keep things consistent

          People

          • Assignee:
            Igor Vaynberg
            Reporter:
            Igor Vaynberg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development