users@jersey.java.net

[Jersey] 转发:ContainerResponseFilter filter function called twice when there is a 404 request

From: 鲍鱼 <452537773_at_qq.com>
Date: Fri, 25 Jul 2014 13:07:00 +0800

I'm sorry. It's another request sent by chrome automatic, so there is nothing wrong.‍




Thanks.
 

------------------ 原始邮件 ------------------
发件人: "鲍鱼";<452537773_at_qq.com>;
发送时间: 2014年7月25日(星期五) 中午11:38
收件人: "users"<users_at_jersey.java.net>;

主题: ContainerResponseFilter filter function called twice when there is a 404 request



Hi,all


    Say my url is http://a.b.c?uid=123 , so if I visit http://a.b.c there will be a 404 error. But I found that ‍ContainerResponseFilter filter function is called twice , and between them function toResponse in ‍ExceptionMapper is called. Can someone explain it to me?‍‍


    Thanks very much.