Hi,
What's the purpose of this? IMHO you can do this with these filters or
directly with javax.servlet.Filter with custom
javax.servlet.http.HttpServletResponseWrapper and
javax.servlet.http.HttpServletRequestWrapper.
BR, Petr
2011/8/1 Ed Anuff <ed_at_anuff.com>:
> I need to count the number of bytes sent and received to my web
> service. Should this be in a
> ContainerRequestFilter/ContainerResponseFilter? I need to do this
> before the inbound data is auto-marshalled from JSON and after the
> outbound response is marshalled to JSON.
>
> Thanks
>
> Ed
>