users@jersey.java.net

Re: [Jersey] Checking service call for Accept-Language header

From: DirkM <dirk_at_olx.com>
Date: Fri, 28 Aug 2009 15:20:22 -0500 (CDT)

Craig McClanahan wrote:
>
> Did you say "@Retention(RetentionPolicy.RUNTIME)" when you defined the
> @LocaleRequired annotation? If not, then it will get erased by the
> compiler, and won't be visible to runtime reflection calls.
>

That's exactly what the problem was, thanks!

-- 
View this message in context: http://n2.nabble.com/Checking-service-call-for-Accept-Language-header-tp3537044p3537236.html
Sent from the Jersey mailing list archive at Nabble.com.