users@jersey.java.net

[Jersey] Re: Measuring execution time for each resource method separately

From: Coda Hale <coda.hale_at_gmail.com>
Date: Thu, 29 Dec 2011 19:23:49 -0800

Perfect! That was exactly what I needed. Now the ResourceMethodDispatchProvider is a pure decorator.

Thanks!

-- 
Coda Hale
http://codahale.com
On Thursday, December 29, 2011 at 6:07 PM, George Sapountzis wrote:
> On Fri, Dec 30, 2011 at 2:07 AM, Coda Hale <coda.hale_at_gmail.com (mailto:coda.hale_at_gmail.com)> wrote:
> > I agree, it's not a good fit, but the API is a) not really documented regarding overall behavior and b) mostly implemented in private classes.
> > 
> > If folks here have a better idea for how to decorate the underlying ResourceMethodDispatch instance in a cleaner way, I'd change this in a heartbeat.
> 
> haven't looked at the code but there is a
> ResourceMethodDispatchAdapter extension point which may be useful