posted 14 years ago
Hi friends.
Im uploading a file, using on client side HttpClient from org.apache.commons package.
Im streaming the file to the server.
How can I let a user cancel the upload nicely?
Im using HttpClient code like this, implemented with a listener.
My class with listener and write methods...
How is the best way to cancel the stream to the server.
I havent find anything in HttpClient to achieve this.
Maybe there is a way to subclass and override, but I have not managed to
figure that out.
Any help appreciated
Best Regards
Bjorn