jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: [jax-rs-spec users] Target Configuration initialization

From: Santiago Pericas-Geertsen <Santiago.PericasGeertsen_at_oracle.com>
Date: Wed, 1 Feb 2012 08:57:27 -0500

On Jan 30, 2012, at 5:29 PM, Bill Burke wrote:

> Target's Configuration, should be its own instance, IMO, and not shared with Client. It should, however be initialized with the configuration of the parent it was created from though (the Client or another Target).
>
> This will allow Target's to be in initialized from their parents, but also allow Targets to have different configurations. This is useful for cases like authentication where each Target might have different credentials.

 That's the way it's supposed to work. What made you think otherwise? E.g., see Section 5.6 of spec.

-- Santiago