users@jersey.java.net

Re: UriInfo inside MessageBodyWriter?

From: ljnelson <ljnelson_at_gmail.com>
Date: Fri, 16 Apr 2010 15:40:48 -0800 (PST)

On Fri, Apr 16, 2010 at 4:52 PM, Marc Hadley-2 [via Jersey]
<ml-node+4915176-1965744559-210534_at_n2.nabble.com> wrote:
> What in the Javadoc leads you to believe that ?

Ah, I simply read too fast. Saw: "All methods throw
java.lang.IllegalStateException if called outside the scope of a
request (e.g. from a provider constructor)" and somehow inferred it
was not proper to use a UriInfo inside a provider. My bad; all is
well.

Best,
Laird

-- 
View this message in context: http://n2.nabble.com/UriInfo-inside-MessageBodyWriter-tp4915126p4915728.html
Sent from the Jersey mailing list archive at Nabble.com.