Uses of Interface
org.glassfish.jersey.process.internal.Stage
-
Packages that use Stage Package Description 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.org.glassfish.jersey.server.internal.routing Jersey server-side internal resource routing classes. -
-
Uses of Stage in org.glassfish.jersey.process.internal
Subinterfaces of Stage in org.glassfish.jersey.process.internal Modifier and Type Interface Description interfaceChainableStage<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 classAbstractChainableStage<DATA>Abstract chainable linear acceptor.static classStages.LinkedStage<DATA>Linked linear stage implementation.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 terminalStagethat implementsInflectinginterface and returns the providedInflectorinstance 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>AbstractChainableStage. getDefaultNext()Get the default next stage currently configured on the acceptor.Stage<DATA>Stage.Continuation. next()Get the stage to be invoked next ornullif no next stage ispresent.Methods in org.glassfish.jersey.process.internal with parameters of type Stage Modifier and Type Method Description Stage<DATA>Stage.Builder. build(Stage<DATA> terminal)Add a terminal stage to the stage chain and build the chain.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> DATAStages. 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.voidAbstractChainableStage. setDefaultNext(Stage<DATA> next)voidChainableStage. 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.LinkedStage(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.internal.process
Methods in org.glassfish.jersey.server.internal.process that return Stage Modifier and Type Method Description 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
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.
-