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