Top Description Methods
jakarta.ws.rs.container

public Interface ConnectionCallback


Asynchronous request processing lifecycle callback that receives connection related asynchronous response lifecycle events.

Support for this type of callback by JAX-RS runtime is OPTIONAL.

Author
Marek Potociar
Since
2.0

Method Summary

Modifier and TypeMethod and Description
public void
onDisconnect(AsyncResponse
asynchronous response for which the remote client connection has been lost.
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

onDisconnectback to summary
public 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:AsyncResponse

asynchronous response for which the remote client connection has been lost.