Package | Description |
---|---|
org.glassfish.jersey.client |
Jersey client-side classes.
|
org.glassfish.jersey.inject.hk2 | |
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.
|
org.glassfish.jersey.server.internal.process |
Jersey server-side internal classes related to request and response processing.
|
Constructor and Description |
---|
RequestProcessingInitializationStage(javax.inject.Provider<Ref<ClientRequest>> requestRefProvider,
MessageBodyWorkers workersProvider,
InjectionManager injectionManager)
Create new
MessageBodyWorkers initialization function
for requests and responses. |
Modifier and Type | Method and Description |
---|---|
static <T> Factory<Ref<T>> |
Hk2ReferencingFactory.referenceFactory()
Get a reference factory providing an empty reference.
|
static <T> Factory<Ref<T>> |
Hk2ReferencingFactory.referenceFactory(T initialValue)
Get a reference factory providing an initialized reference.
|
Constructor and Description |
---|
Hk2ReferencingFactory(javax.inject.Provider<Ref<T>> referenceFactory)
Create new referencing injection factory.
|
Modifier and Type | Method and Description |
---|---|
static <T> Supplier<Ref<T>> |
ReferencingFactory.referenceFactory()
Get a reference factory providing an empty reference.
|
static <T> Supplier<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()
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.
|
Modifier and Type | Class and Description |
---|---|
class |
RequestProcessingContextReference
Wrapper that holds the reference of the
RequestProcessingContext . |
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.