users@jersey.java.net

[Jersey] Re: ContainerRequestFilter in Guice Context

From: Виктор Булдаков <victor_at_buldakov.org>
Date: Thu, 14 Aug 2014 22:52:00 +0400
Could somebody help me please?
 
12.08.2014, 20:31, "Виктор Булдаков" <victor@buldakov.org>:
Hi, everyone!
 
I have a little question about jersey.
 
I have filter which extends ContainerRequestFilter and annotated @Provider, but it doesn't work.
I debuged WebApplicationImpl and saw that guice putted filter into providerServices, but FilterFactory doesn't call getProviders(ContainerRequestFilter.class).
 
Please tell me, if I am using filter with annotation @Provider wrong or it should be calling getProviders(ContainerRequestFilter.class) in FilterFactory?
 
Thanks!
 
Victor