|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.ws.rs.client.ClientFactory
public abstract class ClientFactory
Main entry point to the client API used to bootstrap Client
instances.
| Field Summary | |
|---|---|
static String |
JAXRS_DEFAULT_CLIENT_FACTORY_PROPERTY
Name of the property identifying the RuntimeDelegate implementation
to be returned from RuntimeDelegate.getInstance(). |
| Constructor Summary | |
|---|---|
protected |
ClientFactory()
Allows custom implementations to extend the ClientFactory class. |
| Method Summary | |
|---|---|
protected abstract Client |
getClient()
Get a new client instance. |
protected abstract Client |
getClient(Configurable 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(Configurable configuration)
Create new configured client instance using the default client builder factory provided by the JAX-RS implementation provider. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String JAXRS_DEFAULT_CLIENT_FACTORY_PROPERTY
RuntimeDelegate implementation
to be returned from RuntimeDelegate.getInstance().
| Constructor Detail |
|---|
protected ClientFactory()
ClientFactory class.
| Method Detail |
|---|
public static Client newClient()
public static Client newClient(Configurable configuration)
configuration - data used to provide initial configuration for the new
client instance.
protected abstract Client getClient()
protected abstract Client getClient(Configurable configuration)
configuration - data used to provide initial configuration for
the new client instance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||