Package javax.ws.rs.container
Interface ConnectionCallback
-
public interface ConnectionCallback
Asynchronous request processing lifecycle callback that receives connection relatedasynchronous response
lifecycle events.Support for this type of callback by the runtime is OPTIONAL.
- Since:
- 2.0
- Author:
- Marek Potociar
-
-
Method Summary
Modifier and Type Method 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.
-
-
-
Method Detail
-
onDisconnect
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.- Parameters:
disconnected
- asynchronous response for which the remote client connection has been lost.
-
-