title: Intercept client disconnect with spring?
body: <p>I have a spring based web service (JAX-RS), and I want to intercept client disconnection in case a long operation is running.
  For example, when a client preform an HTTP call, that creates a load of work on the server, but then disconnects for some reason (process terminated), I would like to intercept that disconnection and cancel the work on the server, since the client will never get the result he was waiting for.</p>
  
  <p>Is that possible with spring?</p>
  
  <p>Thanks!</p>