|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.ws.rs.client.ClientFactory
public class ClientFactory
Main entry point to the client API used to bootstrap Client
instances.
| Field Summary | |
|---|---|
static java.lang.String |
JAXRS_DEFAULT_CLIENT_BUILDER_FACTORY_PROPERTY
Name of the property identifying the RuntimeDelegate implementation
to be returned from RuntimeDelegate.getInstance(). |
| Constructor Summary | |
|---|---|
ClientFactory()
|
|
| Method Summary | ||
|---|---|---|
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. |
|
static
|
newClientBy(java.lang.Class<? extends ClientBuilderFactory<B>> builderFactoryClass)
Create client instance using a custom client builder factory. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String JAXRS_DEFAULT_CLIENT_BUILDER_FACTORY_PROPERTY
RuntimeDelegate implementation
to be returned from RuntimeDelegate.getInstance().
| Constructor Detail |
|---|
public ClientFactory()
| Method Detail |
|---|
public static <B extends Client.Builder> B newClientBy(java.lang.Class<? extends ClientBuilderFactory<B>> builderFactoryClass)
B - client builder type.builderFactoryClass - client builder factory class.
public static Client newClient()
public static Client newClient(Configuration 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 | |||||||||