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
On 11/16/2016 10:34 AM, Tao Wu wrote:
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 <http://safe.is>
way to solve it.
thanks very much.
My company's smarter than your company (unless you work for Red Hat)