users@jersey.java.net

[Jersey] Monitoring progress on an asynchronous request

From: <marco.ocana_at_balboasystems.com>
Date: Wed, 15 Jun 2011 19:27:51 +0000 (GMT)

Hi,

How would I go about monitoring the progress of an asynchronous request
using the Jersey client?
I am aware of the ContainerListener mechanism using a
ConnectionListenerFilter, but I could not find a straightforward way to
associate a listener to a specific request.

I also found the FutureListener with the onComplete callback, but it
does not provide information on the bytes sent/received like the
ContainerListener does.

I am currently on Jersey Client 1.5.

Thanks

Marco