public interface ConnectionCallback
asynchronous response
lifecycle events.
Support for this type of callback by JAX-RS runtime is OPTIONAL.
Modifier and Type | Method and Description |
---|---|
void |
onDisconnect(AsyncResponse disconnected)
This callback notification method is invoked in case the container detects
that the remote client connection associated with the asynchronous response
has been disconnected.
|
void onDisconnect(AsyncResponse disconnected)
disconnected
- asynchronous response for which the remote client connection
has been lost.Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.