users@jersey.java.net

Re: [Jersey] modifying jersey client requests

From: Zoltan Arnold NAGY <Zoltan.Nagy_at_Sun.COM>
Date: Wed, 14 Oct 2009 14:37:48 +0200

Paul Sandoz wrote:
> That looks good. At line 42 it should be possible to add headers. If
> you cannot it is a bug. Can you verify when the client performs a POST
> request that the AuthFilter.close() is called?
while trying to come up with a complete example, it started to work...
so it must have been
a fault in my main program. :)

one more question: on the server side, the filter class is a singleton,
I guess.
so that means it's filter() method must be thread-safe, right?

Thanks,
Zoltan