[
https://issues.apache.org/jira/browse/CXF-5417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13876313#comment-13876313
]
Sergey Beryozkin commented on CXF-5417:
---------------------------------------
Hi Andriy
Thanks, sounds good, I'll work on a patch in the next couple of days.
I'd not be too concerned about the lack of the tests in this case though :-), I
can imagine it can be tricky to test without keeping some state in the server,
etc.
Should we settle on adding AsyncResponseImpl unit tests testing the callback
registration methods only ? I can do it as part of applying a patch.
Thanks, Sergey
> 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
> Attachments: patch-connection-callback.txt
>
>
> 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)