| Modifier and Type | Field and Description |
|---|---|
static String |
JAXRS_DEFAULT_CLIENT_FACTORY_PROPERTY
Name of the property identifying the
RuntimeDelegate implementation
to be returned from RuntimeDelegate.getInstance(). |
| Modifier | Constructor and Description |
|---|---|
protected |
ClientFactory()
Allows custom implementations to extend the
ClientFactory class. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Client |
getClient()
Get a new client instance.
|
protected abstract Client |
getClient(Configuration configuration)
Get a new pre-configured client instance.
|
static Client |
newClient()
Create new client instance using the default client builder factory provided
by the JAX-RS implementation provider.
|
static Client |
newClient(Configuration configuration)
Create new configured client instance using the default client builder factory
provided by the JAX-RS implementation provider.
|
public static final String JAXRS_DEFAULT_CLIENT_FACTORY_PROPERTY
RuntimeDelegate implementation
to be returned from RuntimeDelegate.getInstance().protected ClientFactory()
ClientFactory class.public static Client newClient()
public static Client newClient(Configuration configuration)
configuration - data used to provide initial configuration for the new
client instance.protected abstract Client getClient()
protected abstract Client getClient(Configuration configuration)
configuration - data used to provide initial configuration for
the new client instance.Copyright © 2013. All Rights Reserved.