incubator-awf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Stevenson (Moved) (JIRA)" <j...@apache.org>
Subject [jira] [Moved] (AWF-37) Support for multiple writes
Date Wed, 29 Feb 2012 10:10:00 GMT

     [ https://issues.apache.org/jira/browse/AWF-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tony Stevenson moved DEFT-37 to AWF-37:
---------------------------------------

    Reporter: Niklas Gustavsson
         Key: AWF-37  (was: DEFT-37)
     Project: Apache AWF  (was: Deft)
    
> Support for multiple writes
> ---------------------------
>
>                 Key: AWF-37
>                 URL: https://issues.apache.org/jira/browse/AWF-37
>             Project: Apache AWF
>          Issue Type: Bug
>            Reporter: Niklas Gustavsson
>
> We should support multiple invocations to HttpResponse.write instead of the current limitation
where we only support one single call to write. If another call is made a MultipleWritesException
is thrown.
> Beginning of HttpResponse.write: 
>     if (writeExecuted) {
>       throw new MultipleWritesException();
>     }
> We could introduce a new method called 'flush' which pretty much does what write does
today (i.e write initial response line and headers and then send the data).
> write could buffer things up in memory until next flush invocation.
> finish could do a flush + close connection

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message