| Package | Description |
|---|---|
| org.glassfish.jersey.client |
Jersey client-side classes.
|
| org.glassfish.jersey.internal.inject |
Common Jersey internal injection utility classes.
|
| org.glassfish.jersey.internal.util.collection |
Common set of Jersey collection classes.
|
| org.glassfish.jersey.message.internal |
Common Jersey internal messaging classes.
|
| org.glassfish.jersey.process.internal |
Common Jersey internal processing classes.
|
| Constructor and Description |
|---|
RequestProcessingInitializationStage(javax.inject.Provider<Ref<ClientRequest>> requestRefProvider,
javax.inject.Provider<MessageBodyWorkers> workersProvider,
org.glassfish.hk2.api.ServiceLocator locator)
Create new
MessageBodyWorkers initialization function
for requests and responses. |
| Modifier and Type | Method and Description |
|---|---|
static <T> org.glassfish.hk2.api.Factory<Ref<T>> |
ReferencingFactory.referenceFactory()
Get a reference factory providing an empty reference.
|
static <T> org.glassfish.hk2.api.Factory<Ref<T>> |
ReferencingFactory.referenceFactory(T initialValue)
Get a reference factory providing an initialized reference.
|
| Constructor and Description |
|---|
ReferenceTransformingFactory(javax.inject.Provider<Ref<S>> refProvider,
ReferenceTransformingFactory.Transformer<S,T> transformer)
Initialize reference transforming factory.
|
ReferencingFactory(javax.inject.Provider<Ref<T>> referenceFactory)
Create new referencing injection factory.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Ref<T> |
Refs.emptyRef()
Construct a new empty mutable
Ref instance. |
static <T> Ref<T> |
Refs.immutableRef(T value)
Construct a new immutable
Ref instance referencing the given
input value. |
static <T> Ref<T> |
Refs.of(T value)
Construct a new mutable
Ref instance referencing the given
input value. |
static <T> Ref<T> |
Refs.threadSafe()
Construct a new empty mutable thread-safe
Ref instance. |
static <T> Ref<T> |
Refs.threadSafe(T value)
Construct a new mutable thread-safe
Ref instance referencing the given
input value. |
| Modifier and Type | Method and Description |
|---|---|
static Variant |
VariantSelector.selectVariant(InboundMessageContext context,
List<Variant> variants,
Ref<String> varyHeaderValue)
Select the representation variant that best matches the request.
|
static List<Variant> |
VariantSelector.selectVariants(InboundMessageContext context,
List<Variant> variants,
Ref<String> varyHeaderValue)
Select possible representation variants in order in which they best matches the request.
|
| Modifier and Type | Method and Description |
|---|---|
static <DATA,RESULT,T extends Inflector<DATA,RESULT>> |
Stages.process(DATA data,
Stage<DATA> rootStage,
Ref<T> inflectorRef)
Run the data through a chain of stages identified by the root stage.
|
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.