Uses of Interface
org.glassfish.jersey.process.internal.Stage
-
Packages that use Stage 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. -
-
Uses of Stage in org.glassfish.jersey.client
Classes in org.glassfish.jersey.client that implement Stage Modifier and Type Class Description private static class
ClientFilteringStages.RequestFilteringStage
private static class
ClientFilteringStages.ResponseFilterStage
Fields in org.glassfish.jersey.client declared as Stage Modifier and Type Field Description private Stage<ClientRequest>
ClientRuntime. requestProcessingRoot
private Stage<ClientResponse>
ClientRuntime. responseProcessingRoot
-
Uses of Stage in org.glassfish.jersey.process.internal
Subinterfaces of Stage in org.glassfish.jersey.process.internal Modifier and Type Interface Description interface
ChainableStage<DATA>
Linear acceptor that can be composed into a chain.Classes in org.glassfish.jersey.process.internal that implement Stage Modifier and Type Class Description class
AbstractChainableStage<DATA>
Abstract chainable linear acceptor.private static class
Stages.InflectingStage<DATA,RESULT>
static class
Stages.LinkedStage<DATA>
Linked linear stage implementation.Fields in org.glassfish.jersey.process.internal declared as Stage Modifier and Type Field Description private Stage<DATA>
Stage.Continuation. next
private Stage<DATA>
AbstractChainableStage. nextStage
private Stage<DATA>
Stages.LinkedStage. nextStage
private Stage<DATA>
Stages.StageChainBuilder. rootStage
Methods in org.glassfish.jersey.process.internal that return Stage Modifier and Type Method Description static <DATA,RESULT>
Stage<DATA>Stages. asStage(Inflector<DATA,RESULT> inflector)
Creates a terminalStage
that implementsInflecting
interface and returns the providedInflector
instance when theInflecting.inflector()
method is called.Stage<DATA>
Stage.Builder. build()
Build a stage chain.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>
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 ornull
if no next stage ispresent
.Methods in org.glassfish.jersey.process.internal with parameters of type Stage Modifier and Type Method 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>>
DATAStages. 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.Constructors in org.glassfish.jersey.process.internal with parameters of type Stage Constructor 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. -
Uses of Stage in org.glassfish.jersey.server
Classes in org.glassfish.jersey.server that implement Stage Modifier and Type Class 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
Fields in org.glassfish.jersey.server declared as Stage Modifier and Type Field Description private Stage<RequestProcessingContext>
ServerRuntime. requestProcessingRoot
Methods in org.glassfish.jersey.server with parameters of type Stage Modifier and Type Method Description (package private) static ServerRuntime
ServerRuntime. createServerRuntime(InjectionManager injectionManager, ServerBootstrapBag bootstrapBag, Stage<RequestProcessingContext> processingRoot, ApplicationEventListener eventListener, ProcessingProviders processingProviders)
Constructors in org.glassfish.jersey.server with parameters of type Stage Constructor 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)
-
Uses of Stage in org.glassfish.jersey.server.internal.process
Fields in org.glassfish.jersey.server.internal.process declared as Stage Modifier and Type Field Description private Stage<ContainerResponse>
DefaultRespondingContext. rootStage
Methods in org.glassfish.jersey.server.internal.process that return Stage Modifier and Type Method 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. -
Uses of Stage in org.glassfish.jersey.server.internal.routing
Classes in org.glassfish.jersey.server.internal.routing that implement Stage Modifier and Type Class Description (package private) class
MatchedEndpointExtractorStage
Request pre-processing stage thatextracts an inflector from a routing context
where it was previously stored by therequest 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.Methods in org.glassfish.jersey.server.internal.routing that return Stage Modifier and Type Method 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.
-