myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <>
Subject [jira] [Reopened] (MYFACES-3775) [perf] optional early flush
Date Thu, 26 Sep 2013 12:39:08 GMT


Leonardo Uribe reopened MYFACES-3775:

Reopening issue as it was found this description on the javadoc of ResponseWriter.flush():

"... Flush any ouput buffered by the output method to the underlying Writer or OutputStream.
This method will not flush the underlying Writer or OutputStream; it simply clears any values
buffered by this ResponseWriter. ..."

There are already some points when responseWriter.flush() is called, to ensure the current
tag is closed.

But in this case we really want to force the underlying writer to be flushed. The idea is
create a class extending from HtmlResponseWriterImpl and add the required code. It is necessary
to fix StateWriter.flush() to invoke the internal writer flushing when is necessary (no state
buffer used).

> [perf] optional early flush
> ---------------------------
>                 Key: MYFACES-3775
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-344
>            Reporter: Gerhard Petracek
>            Assignee: Gerhard Petracek
>             Fix For: 2.2.0
> in project-stage production it should be possible to enable an early flush via context-param
(performed at the end of HtmlHeadRenderer#encodeEnd)
> (see

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message