users@jersey.java.net

[Jersey] Re: Event for successful response?

From: Martin Matula <martin.matula_at_oracle.com>
Date: Sat, 29 Sep 2012 16:16:27 -0700

Hi,
Not at the moment. Can you provide more info on your use-case? Maybe a
writer interceptor could be used if you are using Jersey 2.
Martin

On 9/29/12 12:23 PM, Sven Jacobs wrote:
> I would like to perform some action *after* a successful REST response
> has been send.
> For example:
>
> @Path("/")
> class Example {
> @GET
> public String example() {
> return "Hello world"; // How to perform some action after
> the response has been send?
> }
> }
>
> Is there some kind of event handler I can inject and add a listener or
> something like that?
>
> Thanks
>
> Sven