[ 
https://issues.apache.org/jira/browse/CXF-5417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864905#comment-13864905
 ] 

Andriy Redko commented on CXF-5417:
-----------------------------------

Hi Sergey,

Thanks a lot for feedback. I've looked through Jetty Continuation / Listeners 
implementation and haven't found any hints to handle or detect disconnect. The 
quick Google search gave me this link 
http://stackoverflow.com/questions/16182033/jetty-detect-disconnected-client-continuations
 which helps to explain a bit the problem. Anyway, I am going to figure out the 
way Jersey does it as being RI they should have provided the respective 
callback implementation.

Thanks!
Happy New Year!

Andriy

> Support optional JAX-RS 2.0 ConnectionCallback
> ----------------------------------------------
>
>                 Key: CXF-5417
>                 URL: https://issues.apache.org/jira/browse/CXF-5417
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS, Transports
>            Reporter: Sergey Beryozkin
>            Priority: Minor
>
> https://jax-rs-spec.java.net/nonav/2.0/apidocs/javax/ws/rs/container/ConnectionCallback.html
> lets JAX-RS 2.0 applications receive the notifications when a given client 
> has disconnected.
> We can probably build something on top of the Jetty-specific connector and 
> also enhance CXF Continuation API. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to