title: Is there a way to detect cancelled download?
body: <p>Let's say I have a Spring MVC web application and it allows users to download a file. An email is sent at the same time as the file is sent to the user.</p>
  
  <p>Is there a way to detect cancelled download so I could send the email only if the download has been successful?</p>