FlushHeadersOutputStream should override OutputStream.flush() as well
---------------------------------------------------------------------

                 Key: WINK-33
                 URL: https://issues.apache.org/jira/browse/WINK-33
             Project: Wink
          Issue Type: Bug
          Components: Server
            Reporter: Bryant Luk
         Attachments: WINK-33.patch

FlushHeadersOutputStream in 
org.apache.wink.server.internal.handlers.FlushResultHandler should override 
public void flush() from OutputStream.

        @Override
        public void flush() throws IOException {
            flushHeaders();
            outputStream.flush();
        }

This allows a MessageBodyWriter.writeTo() to flush the output stream when 
asked.  There may be occasions where the writer knows when to flush better than 
the underlying output stream.

I'll attach a patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to