users@jersey.java.net

Re: [Jersey] Cleanup

From: dloy <david.loy_at_ucop.edu>
Date: Wed, 04 Nov 2009 12:59:36 -0800

Hi Moises
Can you direct me to any documentation up a CleanupFilter?
Thanks
David

Moises Lejter wrote:
> Would a CleanupFilter work? They get call "around" each HTTP request,
> right?
>
> Moises
>
> On Wed, Nov 4, 2009 at 1:02 PM, dloy <david.loy_at_ucop.edu
> <mailto:david.loy_at_ucop.edu>> wrote:
>
> I would like to do cleanup after a Jersey request completes (e.g.
> delete temporary files, ...). Does Jersey provide any mechanism
> for running a process at the completion of an http request?
>