users@jersey.java.net

[Jersey] Why does ResourceContext require _at_Context?

From: Gili <cowwoc_at_bbs.darktech.org>
Date: Tue, 19 Apr 2011 15:08:17 -0700 (PDT)

Hi,

Why is ResourceContext context-specific whereas UriInfo is not? I don't see
how any of ResourceContext's methods depend on the current HTTP request.

I noticed that I can inject UriInfo using Guice without a @Context.
Shouldn't ResourceContext be the same?

Gili

--
View this message in context: http://jersey.576304.n2.nabble.com/Why-does-ResourceContext-require-Context-tp6288832p6288832.html
Sent from the Jersey mailing list archive at Nabble.com.