users@jersey.java.net

[Jersey] Re: modify jersey return using WriterInterceptor

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Fri, 25 Jul 2014 13:29:13 +0200

Have you tried reading the manual?
https://jersey.java.net/documentation/latest/filters-and-interceptors.html

Cheers,
Marek

On 23 Jul 2014, at 12:04, 鲍明礼 <mingli.bao_at_yolu-inc.com> wrote:

> Hi,
>
> I want to modify return result using WriterInterceptor, but function "aroundWriteTo" in WriterInterceptor is not called when the result is null . So what should I do to modify the null result ?
>
>
> Thanks.
>
> --
> Best Regards
> 鲍明礼
> ---------------------------------
> 微人脉
> 邮件: mingli.bao_at_yolu-inc.com
> 地址: 北京市东城区新中西里13号巨石大厦西区5层
> 邮编: 100027
>
>
>
>