Class Routing
java.lang.Object
org.glassfish.jersey.server.internal.routing.Routing
Jersey routing entry point.
- Author:
- Marek Potociar
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Routing.Builder
forModel
(RuntimeResourceModel resourceModel) Create a routing stage builder for a given runtime resource model.static Stage<RequestProcessingContext>
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.
-
Method Details
-
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. This request pre-processing stage should be a final stage in the request processing chain.- Returns:
- new matched endpoint extractor request pre-processing stage.
-
forModel
Create a routing stage builder for a given runtime resource model.- Parameters:
resourceModel
- runtime resource model- Returns:
- new routing stage builder.
-