final class MatchedEndpointExtractorStage extends java.lang.Object implements Stage<RequestProcessingContext>
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.
This request pre-processing stage should be a final stage in the request
processing chain.RoutingStage
Stage.Builder<DATA>, Stage.Continuation<DATA>
Constructor and Description |
---|
MatchedEndpointExtractorStage() |
Modifier and Type | Method and Description |
---|---|
Stage.Continuation<RequestProcessingContext> |
apply(RequestProcessingContext processingContext)
Performs a data processing task and returns the processed data together with
a
processing continuation . |
public Stage.Continuation<RequestProcessingContext> apply(RequestProcessingContext processingContext)
Stage
processing continuation
.apply
in interface Stage<RequestProcessingContext>
processingContext
- data to be transformed.