org.odata4j.jersey.consumer
Class DefaultJerseyClientFactory
java.lang.Object
org.odata4j.jersey.consumer.DefaultJerseyClientFactory
- All Implemented Interfaces:
- JerseyClientFactory
public class DefaultJerseyClientFactory
- extends Object
- implements JerseyClientFactory
The default factory implementation for Jersey clients.
Use INSTANCE
to obtain a reference to the singleton instance of this factory.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final DefaultJerseyClientFactory INSTANCE
createClient
public Client createClient(ClientConfig clientConfig)
- Creates a new default
Client
by calling: Client.create(clientConfig)
- Specified by:
createClient
in interface JerseyClientFactory
- Parameters:
clientConfig
- the Jersey client api configuration
http://odata4j.org