| Package | Description |
|---|---|
| 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.
|
| 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 |
|---|
ReferencingFactory(javax.inject.Provider<Ref<T>> referenceFactory)
Create new referencing injection factory.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Ref<T> |
Refs.emptyRef()
Constructs a new empty mutable
Ref instance. |
static <T> Ref<T> |
Refs.immutableRef(T value)
Constructs a new immutable
Ref instance referencing the given
input reference. |
static <T> Ref<T> |
Refs.of(T value)
Constructs a new mutable
Ref instance referencing the given
input reference. |
| Modifier and Type | Method and Description |
|---|---|
static javax.ws.rs.core.Variant |
VariantSelector.selectVariant(InboundMessageContext context,
List<javax.ws.rs.core.Variant> variants,
Ref<String> varyHeaderValue)
Select the representation variant that best matches the request.
|
static List<javax.ws.rs.core.Variant> |
VariantSelector.selectVariants(InboundMessageContext context,
List<javax.ws.rs.core.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-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.