reta opened a new pull request #643: CXF-8215: SSE breaks Pipeline Processing
URL: https://github.com/apache/cxf/pull/643
 
 
    The JAX-RS Specification 2.1 contains the chapter 9 for "Server-Sent 
Events", specifically section 9.5 "Pipeline Processing" states:
   
   > For compatibility purposes, implementations MUST initiate processing of an 
SSE response when either the first message is sent or when the resource method 
returns, whichever happens first. The initial SSE response, which may only 
include the HTTP headers, is processed using the standard JAX-RS pipeline as 
described in Appendix C. Each subsequent SSE event may include a different 
payload and thus require the use of a specific message body writer. Note that 
since this use case differs slightly from the normal JAX-RS pipeline, 
implementations SHOULD NOT call entity interceptors on each individual event 
(1).
   
   In case of SSE processing, the `JAXRSOutInterceptor` is not called and as 
such, the container response processing filters are also ignore.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to