| Package | Description |
|---|---|
| javax.ws.rs.client |
The JAX-RS client API
|
| javax.ws.rs.container |
Container-specific JAX-RS API.
|
| javax.ws.rs.core |
Low-level interfaces and annotations used to create RESTful service
resources.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Configuration
Represents inheritable configuration of the main client-side JAX-RS components,
such as
Client, WebTarget, Invocation Builder
or Invocation. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Client |
ClientFactory.getClient(Configurable configuration)
Get a new pre-configured client instance.
|
static Client |
ClientFactory.newClient(Configurable configuration)
Create new configured client instance using the default client builder factory
provided by the JAX-RS implementation provider.
|
Configuration |
Configuration.updateFrom(Configurable configuration)
Replace the existing configuration state with the configuration state of
the externally provided configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DynamicFeature.configure(ResourceInfo resourceInfo,
Configurable configurable)
A callback method called by the JAX-RS runtime during the application
deployment to register provider instances or classes in a
configurable scope of a particular resource or sub-resource method; i.e. |
| Modifier and Type | Method and Description |
|---|---|
Configurable |
Configurable.register(Class<?> providerClass)
Register a provider or a
feature class to be instantiated
and used in the scope of the configured instance. |
Configurable |
Configurable.register(Class<?> providerClass,
int bindingPriority)
Register a provider or a
feature class to be instantiated and used
in the scope of the configured instance. |
<T> Configurable |
Configurable.register(Class<T> providerClass,
Class<? super T>... contracts)
Register a provider or a
feature class to be instantiated
and used in the scope of the configured instance. |
<T> Configurable |
Configurable.register(Class<T> providerClass,
int bindingPriority,
Class<? super T>... contracts)
Register a provider or a
feature class to be instantiated
and used in the scope of the configured instance. |
Configurable |
Configurable.register(Object provider)
Register a provider or a
feature ("singleton") instance to be used
in the scope of the configured instance. |
<T> Configurable |
Configurable.register(Object provider,
Class<? super T>... contracts)
Register a provider or a
feature ("singleton") instance to be used
in the scope of the configured instance. |
Configurable |
Configurable.register(Object provider,
int bindingPriority)
Register a provider or a
feature ("singleton") instance to be used
in the scope of the configured instance. |
<T> Configurable |
Configurable.register(Object provider,
int bindingPriority,
Class<? super T>... contracts)
Register a provider or a
feature ("singleton") instance to be used
in the scope of the configured instance. |
Configurable |
Configurable.setProperties(Map<String,?> properties)
Set new configuration properties replacing all previously set properties.
|
Configurable |
Configurable.setProperty(String name,
Object value)
Set the new configuration property, if already set, the existing value of
the property will be updated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Feature.configure(Configurable configurable)
A call-back method called when the feature is to be enabled in a given
configurable scope.
|
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.