users@jersey.java.net

Re: [Jersey] Tracing URI matching and method dispatching

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Tue, 24 Nov 2009 06:51:25 -0500

On Nov 24, 2009, at 5:41 AM, Paul Sandoz wrote:
>
> Many ideas in Jersey/JAX-RS were inspired by Stapler the underlying
> HTTP-based framework utilized by Hudson.
>
> Here is another potential idea. Stapler has a trace mode:
>
> http://wiki.hudson-ci.org/display/HUDSON/Figuring+out+URL+binding+of+Stapler
>
> Please let me know if you would like such a feature in Jersey.
>
> I think this is a more promising approach rather than explicit
> logging on the server side, and the of course the response could be
> logged using the LoggingFIlter thus exposing trace headers.
>
This looks a bit like the functionality provided by
UriInfo#getMatchedURIs and UriInfo#getMatchedResources. Adding
information about the called methods would be useful.

Marc.