cc'ing to Resteasy list.
Hi Tao Wu,
There's no requirement for ClientRequestFilters to be thread safe, although they may be. For example, CacheInterceptor in resteasy-client, which holds a reference to a cache, isn't, but AcceptEncodingGZIPFilter in resteasy-jaxrs, is.
But it sounds like you are using your own ClientRequestFilter to modify some headers. In that case, you are responsible for making the filter thread safe.
-Ron
hi:
is the restclient filters are not thread safe,when the restclient is singlon.
i used the clientrequestfilter post header paramters,but when in muliti thread env
the header paramters not thread safe.is there some way to solve it.
thanks very much.
-- My company's smarter than your company (unless you work for Red Hat)