users@jersey.java.net

UriInfo inside MessageBodyWriter?

From: Laird Nelson <ljnelson_at_gmail.com>
Date: Fri, 16 Apr 2010 13:06:21 -0400

Is there any way to get a UriInfo inside a MessageBodyWriter that
could be called reliably from writeTo()?

I am not clear on whether a UriInfo object, injected into a
MessageBodyWriter field, is supposed to be injected once or not. Its
Javadoc leads me to believe that using it in a MessageBodyWriter is a
no-no.

Best,
Laird