You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Eli Baram (JIRA)" <ji...@apache.org> on 2009/07/02 09:30:47 UTC
[jira] Resolved: (WINK-33) FlushHeadersOutputStream should override
OutputStream.flush() as well
[ https://issues.apache.org/jira/browse/WINK-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Baram resolved WINK-33.
---------------------------
Resolution: Fixed
Fix Version/s: 0.1
> 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
> Assignee: Eli Baram
> Fix For: 0.1
>
> 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.