Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Servlet 3.0 API and async filters

Ok, so I found reason why it was not working in my application (I was
getting NPE's).

It looks that guice-servlet does not support async filters :(
--
Kamil Gorlo


On Sun, Jul 21, 2013 at 7:27 PM, Simone Bordet <sbordet@xxxxxxxxxxx> wrote:
> Hi,
>
> On Sun, Jul 21, 2013 at 11:35 AM, Kamil Gorlo <kgorlo@xxxxxxxxx> wrote:
>> Hi,
>>
>> I want to create some kind of authorization filter in my Jetty 9
>> application. This filter will ask external service to verify user
>> credentials so I think it's good idea to make this call
>> asynchronously.
>>
>> Is it possible to create asyncContext in Filter, call some external
>> service asynchronously and then in onComplete callback call
>> chain.doFilter(request, response)?
>
> Yes.
>
> --
> Simone Bordet
> ----
> http://cometd.org
> http://webtide.com
> http://intalio.com
> Developer advice, training, services and support
> from the Jetty & CometD experts.
> Intalio, the modern way to build business applications.
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top