users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Binding in Client API

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Mon, 5 Nov 2012 13:20:57 +0100

On Nov 5, 2012, at 9:19 AM, Jan Algermissen <jan.algermissen_at_nordsc.com> wrote:

> Hello,
>
> ist there is way in the client API to bind interceptors to certain message body readers or writers only?
>
> AFAIU any interceptor registered with e.g. the client will be globally bound to all MBWs and MBRs and thus be invoked for every request.
>
> Right?

On the client side, yes.

You can use multiple web targets with different configurations if you need the selective binding.

Marek

>
> Jan