[arquillian-issues] [JBoss JIRA] (ARQ-1320) Warp - The NonWrittingResponse does not override the flushBuffer() method allowing for committing response.
Lukáš Fryč (JIRA)
jira-events at lists.jboss.org
Tue Mar 12 04:08:42 EDT 2013
[ https://issues.jboss.org/browse/ARQ-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760460#comment-12760460 ]
Lukáš Fryč commented on ARQ-1320:
---------------------------------
Jakub, I must agree here - we are diving too deep into details of how response is handled here.
The cleanest way to take care about problems with response wrapping is actually avoid it at all: ARQ-1325
> Warp - The NonWrittingResponse does not override the flushBuffer() method allowing for committing response.
> -----------------------------------------------------------------------------------------------------------
>
> Key: ARQ-1320
> URL: https://issues.jboss.org/browse/ARQ-1320
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Warp
> Affects Versions: warp_1.0.0.Alpha2
> Reporter: Jakub Narloch
> Priority: Blocker
> Fix For: warp_1.0.0.Beta1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> The flushBuffer(http://docs.oracle.com/javaee/6/api/javax/servlet/ServletResponse.html#flushBuffer()) which causes the response to be marked as commited. and Adding afterwards any headers to the response has no effect.
> We should override the that method and prevent it's default behaviour.
> Also, it would be good idea to check the specs for any other method that could commit the message and prevent from enriching it by Warp.
--
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: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list