users@jersey.java.net

Re: [Jersey] file upload progress

From: Paul Sandoz <Paul.Sandoz_at_oracle.com>
Date: Wed, 11 Aug 2010 10:53:36 +0200

On Aug 11, 2010, at 5:15 AM, geoffrey hendrey wrote:

> Is there a way to receive something like progress callbacks for
> large file uploads?
>

On the server-side or the client side?

On the client side you can add a filter to listen:

   https://jersey.dev.java.net/nonav/apidocs/latest/jersey/com/sun/jersey/api/client/filter/ConnectionListenerFilter.html

On the server side there is currently no such support, although it may
be possible to implement this using a filter, as is similarly done on
the client side.

Paul.