Package | Description |
---|---|
org.glassfish.jersey.client |
Jersey client-side classes.
|
org.glassfish.jersey.process.internal |
Common Jersey internal processing classes.
|
org.glassfish.jersey.server |
Jersey server-side classes.
|
org.glassfish.jersey.server.internal.process |
Jersey server-side internal classes related to request and response processing.
|
org.glassfish.jersey.server.internal.routing |
Jersey server-side internal resource routing classes.
|
Modifier and Type | Class and Description |
---|---|
private static class |
ClientFilteringStages.RequestFilteringStage |
private static class |
ClientFilteringStages.ResponseFilterStage |
Modifier and Type | Field and Description |
---|---|
private Stage<ClientRequest> |
ClientRuntime.requestProcessingRoot |
private Stage<ClientResponse> |
ClientRuntime.responseProcessingRoot |
Modifier and Type | Interface and Description |
---|---|
interface |
ChainableStage<DATA>
Linear acceptor that can be composed into a chain.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractChainableStage<DATA>
Abstract chainable linear acceptor.
|
private static class |
Stages.InflectingStage<DATA,RESULT> |
static class |
Stages.LinkedStage<DATA>
Linked linear stage implementation.
|
Modifier and Type | Field and Description |
---|---|
private Stage<DATA> |
Stage.Continuation.next |
private Stage<DATA> |
AbstractChainableStage.nextStage |
private Stage<DATA> |
Stages.LinkedStage.nextStage |
private Stage<DATA> |
Stages.StageChainBuilder.rootStage |
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. |
Stage<DATA> |
Stage.Builder.build()
Build a stage chain.
|
Stage<DATA> |
Stages.StageChainBuilder.build() |
Stage<DATA> |
Stage.Builder.build(Stage<DATA> terminal)
Add a terminal stage to the stage chain and build the chain.
|
Stage<DATA> |
Stages.StageChainBuilder.build(Stage<DATA> stage) |
private Stage<DATA> |
Stages.StageChainBuilder.convertTransformations(Stage<DATA> successor) |
Stage<DATA> |
AbstractChainableStage.getDefaultNext()
Get the default next stage currently configured on the acceptor.
|
Stage<DATA> |
Stage.Continuation.next()
Get the stage to be invoked next or
null if no next stage is
present . |
Modifier and Type | Method and Description |
---|---|
private void |
Stages.StageChainBuilder.addTailStage(Stage<DATA> lastStage) |
Stage<DATA> |
Stage.Builder.build(Stage<DATA> terminal)
Add a terminal stage to the stage chain and build the chain.
|
Stage<DATA> |
Stages.StageChainBuilder.build(Stage<DATA> stage) |
private Stage<DATA> |
Stages.StageChainBuilder.convertTransformations(Stage<DATA> successor) |
static <DATA> Stage.Continuation<DATA> |
Stage.Continuation.of(DATA result,
Stage<DATA> next)
Create a continuation from the processed data result and the stage
to be invoked next.
|
static <DATA> DATA |
Stages.process(DATA data,
Stage<DATA> rootStage)
Run the data through a chain of stages identified by the root stage.
|
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.
|
void |
AbstractChainableStage.setDefaultNext(Stage<DATA> next) |
void |
ChainableStage.setDefaultNext(Stage<DATA> next)
Set the default next stage that should be returned from this
stage after it has been invoked by default.
|
Constructor and Description |
---|
AbstractChainableStage(Stage<DATA> nextStage)
Create a new chainable acceptor with an initialized default
next stage value.
|
Continuation(DATA result,
Stage<DATA> next)
Create a new continuation instance.
|
LinkedStage(java.util.function.Function<DATA,DATA> transformation,
Stage<DATA> nextStage)
Create a new stage that will return the supplied stage in the
continuation.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
ContainerFilteringStage
Container filtering stage responsible for execution of request and response filters
on each request-response message exchange.
|
private static class |
ContainerFilteringStage.ResponseFilterStage |
Modifier and Type | Field and Description |
---|---|
private Stage<RequestProcessingContext> |
ServerRuntime.requestProcessingRoot |
Modifier and Type | Method and Description |
---|---|
(package private) static ServerRuntime |
ServerRuntime.createServerRuntime(InjectionManager injectionManager,
ServerBootstrapBag bootstrapBag,
Stage<RequestProcessingContext> processingRoot,
ApplicationEventListener eventListener,
ProcessingProviders processingProviders) |
Constructor and Description |
---|
ServerRuntime(Stage<RequestProcessingContext> requestProcessingRoot,
ProcessingProviders processingProviders,
InjectionManager injectionManager,
java.util.concurrent.ScheduledExecutorService backgroundScheduler,
javax.inject.Provider<java.util.concurrent.ExecutorService> managedAsyncExecutorProvider,
RequestScope requestScope,
ExceptionMappers exceptionMappers,
ApplicationEventListener applicationEventListener,
ExternalRequestScope externalScope,
javax.ws.rs.core.Configuration configuration) |
Modifier and Type | Field and Description |
---|---|
private Stage<ContainerResponse> |
DefaultRespondingContext.rootStage |
Modifier and Type | Method and Description |
---|---|
Stage<ContainerResponse> |
DefaultRespondingContext.createRespondingRoot() |
Stage<ContainerResponse> |
RequestProcessingContext.createRespondingRoot() |
Stage<ContainerResponse> |
RespondingContext.createRespondingRoot()
(Optionally) create a responder chain from all transformations
previously pushed into the context.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
MatchedEndpointExtractorStage
Request pre-processing stage that
extracts
an inflector from a routing context where it was previously stored by the
request to resource matching stage and
(if available) returns the inflector wrapped in a next terminal stage. |
(package private) class |
RoutingStage
Request pre-processing stage that encapsulates hierarchical resource matching
and request routing.
|
Modifier and Type | Method and Description |
---|---|
static Stage<RequestProcessingContext> |
Routing.matchedEndpointExtractor()
Create a new request pre-processing stage that extracts a matched endpoint from a routing context,
where it was previously stored by the request routing stage and
(if available) returns the endpoint wrapped in a next terminal stage.
|