Class PushMethodHandlerRouter
java.lang.Object
org.glassfish.jersey.server.internal.routing.PushMethodHandlerRouter
- All Implemented Interfaces:
Router
Terminal router that pushes the matched method's handler instance to the stack
returned by
UriInfo.getMatchedResources()
method.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glassfish.jersey.server.internal.routing.Router
Router.Continuation
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPushMethodHandlerRouter
(MethodHandler methodHandler, Router next) Create a newPushMethodHandlerRouter
instance. -
Method Summary
Modifier and TypeMethodDescriptionapply
(RequestProcessingContext context) Performs a request routing task and returns the routed request together with arouting continuation
.
-
Field Details
-
methodHandler
-
next
-
-
Constructor Details
-
PushMethodHandlerRouter
PushMethodHandlerRouter(MethodHandler methodHandler, Router next) Create a newPushMethodHandlerRouter
instance.- Parameters:
methodHandler
- method handler model providing the method handler instance.next
- next router to be invoked after the this one.
-
-
Method Details
-
apply
Description copied from interface:Router
Performs a request routing task and returns the routed request together with arouting continuation
.
-