I want to create a Resourse using Jax-rs(Jersey implementation) that supports asynchronous file upload. By Asynchronous I mean that I do not want to use the AsyncResponse interface of the Jax-rs. Instead I want when a user starts to upload a file from the client to the server, the server to take the file and start the processing asynchronously and return to the client response 202 Accepted or similar and for instance a URL where the client can monitor the progress of the upload.
I have read the articles about the AsynResponse, the reason why I am not sure in it is because of the resume method. I understand that it executes the heavy load operations in a different IO container but does not do the thing that I want.
The other question is, should I make some modifications to the client because I now use the Apache HTTP Client? It would be perfect if only the server changes :)