| Package | Description |
|---|---|
| org.glassfish.jersey.model.internal |
Common Jersey internal model related classes and interfaces.
|
| org.glassfish.jersey.process.internal |
Common Jersey internal processing classes.
|
| Modifier and Type | Field and Description |
|---|---|
static Inflector<ContractProvider.Builder,ContractProvider> |
ComponentBag.AS_IS
Contract provider model enhancer that builds a model as is, without any
modifications.
|
| Modifier and Type | Method and Description |
|---|---|
protected Inflector<ContractProvider.Builder,ContractProvider> |
CommonConfig.getModelEnhancer(Class<?> componentClass)
An extension point that provides a way how to define a custom enhancement/update
operation of a contract provider model registration being produced for a given
component class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ComponentBag.register(Class<?> componentClass,
Inflector<ContractProvider.Builder,ContractProvider> modelEnhancer)
Register a component class using a given registration strategy.
|
boolean |
ComponentBag.register(Class<?> componentClass,
int priority,
Inflector<ContractProvider.Builder,ContractProvider> modelEnhancer)
Register a component class as a contract provider with an explicitly specified binding priority.
|
boolean |
ComponentBag.register(Class<?> componentClass,
Map<Class<?>,Integer> contracts,
Inflector<ContractProvider.Builder,ContractProvider> modelEnhancer)
Register a component class as a contract provider for the specified contracts.
|
boolean |
ComponentBag.register(Class<?> componentClass,
Set<Class<?>> contracts,
Inflector<ContractProvider.Builder,ContractProvider> modelEnhancer)
Register a component class as a contract provider for the specified contracts.
|
boolean |
ComponentBag.register(Object component,
Inflector<ContractProvider.Builder,ContractProvider> modelEnhancer)
Register a component using a given registration strategy.
|
boolean |
ComponentBag.register(Object component,
int priority,
Inflector<ContractProvider.Builder,ContractProvider> modelEnhancer)
Register a component as a contract provider with an explicitly specified binding priority.
|
boolean |
ComponentBag.register(Object component,
Map<Class<?>,Integer> contracts,
Inflector<ContractProvider.Builder,ContractProvider> modelEnhancer)
Register a component as a contract provider for the specified contracts.
|
boolean |
ComponentBag.register(Object component,
Set<Class<?>> contracts,
Inflector<ContractProvider.Builder,ContractProvider> modelEnhancer)
Register a component as a contract provider for the specified contracts.
|
| Modifier and Type | Method and Description |
|---|---|
static <DATA,RESULT,T extends Inflector<DATA,RESULT>> |
Stages.extractInflector(Object stage)
(Optionally) extracts an
inflector from a processing stage,
provided the stage implements Inflecting interface. |
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 | Method and Description |
|---|---|
Inflector<DATA,RESULT> |
Inflecting.inflector()
Get the inflector capable of transforming supplied data into a result.
|
| Modifier and Type | Method and Description |
|---|---|
static <DATA,RESULT> |
Stages.asStage(Inflector<DATA,RESULT> inflector)
Creates a terminal
Stage that implements Inflecting
interface and returns the provided Inflector instance
when the Inflecting.inflector() method is called. |
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.