Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Async filters

Hi,

On Mon, Nov 11, 2019 at 5:25 PM Nils Kilden-Pedersen <nilskp@xxxxxxxxx> wrote:
>
> I can't seem to find much information on how to code async filters.
>
> Basically, how do I know when the filter chain has completed? I need to set a cookie, but only at the very end of the request.

You use Servlet's AsyncListener and implement onComplete().

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.


Back to the top