users@jersey.java.net

[Jersey] Re: Method Dispatcher

From: Santiago Pericas-Geertsen <Santiago.PericasGeertsen_at_oracle.com>
Date: Fri, 10 Jun 2011 10:31:40 -0400

On Jun 10, 2011, at 9:48 AM, Luis de la Garza wrote:

> Before posting my question I acutally did a small example using
> ResourceDebuggingFilterFactory. I noticed that the filters get invoked
> before the parameters of the method get injected (be it a @QueryParam, a
> @Context, and so on). So at this point, I know which method will get
> executed and I also know the parameter types, but I do not know which values
> will be used to invoke the method...

 That's right, but if you use a ContainerRequestFilter you have access the ContainerRequest that has all you need in there, right?

-- Santiago