The client configuration that declares common property names, features, properties, provider classes and singleton instances that may be used by a {@link Client} instance.
An instance of this interface may be passed to the {@link Client} whenthe client is created as follows:
ClientConfig cc = ... Client c = Client.create(cc);
The client configuration may be used to register provider classes such as those, for example, that support JAXB with JSON as follows:
ClientConfig cc = new DefaultClientConfig(); cc.getClasses().add(com.sun.jersey.impl.provider.entity.JSONRootElementProvider.class); Client c = Client.create(cc);
Alternatively an implementation of ClientConfig could perform such registration.
@author Paul.Sandoz@Sun.Com