Class PushMatchedMethodRouter
- java.lang.Object
-
- org.glassfish.jersey.server.internal.routing.PushMatchedMethodRouter
-
- All Implemented Interfaces:
Router
final class PushMatchedMethodRouter extends java.lang.Object implements Router
Router that pushes matchedresource method
torouting context
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.glassfish.jersey.server.internal.routing.Router
Router.Continuation
-
-
Field Summary
Fields Modifier and Type Field Description private ResourceMethod
resourceMethod
-
Constructor Summary
Constructors Constructor Description PushMatchedMethodRouter(ResourceMethod resourceMethod)
Create a new instance of push matched resource router.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Router.Continuation
apply(RequestProcessingContext processingContext)
Performs a request routing task and returns the routed request together with arouting continuation
.
-
-
-
Field Detail
-
resourceMethod
private final ResourceMethod resourceMethod
-
-
Constructor Detail
-
PushMatchedMethodRouter
PushMatchedMethodRouter(ResourceMethod resourceMethod)
Create a new instance of push matched resource router.- Parameters:
resourceMethod
- The matched resource method that should be pushed into therouting context
.
-
-
Method Detail
-
apply
public Router.Continuation apply(RequestProcessingContext processingContext)
Description copied from interface:Router
Performs a request routing task and returns the routed request together with arouting continuation
.
-
-