[ 
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

        

Reply via email to