users@jax-rs-spec.java.net

[jax-rs-spec users] Client configuration

From: Arun Gupta <arun.p.gupta_at_oracle.com>
Date: Mon, 14 Jan 2013 12:52:49 -0800

1). Client instances are configured using WebTarget.register methods.

How would ClientFactory.newClient(Configuration) be invoked ?

I'm missing any means to create the Configuration object. Or is it
Configuration from a different Client ?

2). Section 5.1 of PR shows

client.configuration().register(...)

The PR (obtained from
http://download.oracle.com/otndocs/jcp/jaxrs-2_0-pr_update-spec/index.html)
and the latest javadoc shows

client.register(...)

Seems like there is a inconsistency in the javadoc and specs. BTW, I
like the newer pattern as it removes an additional API call.

Thanks,
Arun

-- 
http://twitter.com/arungupta
http://blogs.oracle.com/arungupta