Class PushMatchedRuntimeResourceRouter
java.lang.Object
org.glassfish.jersey.server.internal.routing.PushMatchedRuntimeResourceRouter
- All Implemented Interfaces:
Router
Router that pushes
runtime resource matched during a any routing phase
to routing context.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glassfish.jersey.server.internal.routing.Router
Router.Continuation -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new instance of push matched resource router. -
Method Summary
Modifier and TypeMethodDescriptionapply(RequestProcessingContext context) Performs a request routing task and returns the routed request together with arouting continuation.
-
Field Details
-
resource
-
-
Constructor Details
-
PushMatchedRuntimeResourceRouter
PushMatchedRuntimeResourceRouter(RuntimeResource resource) Create a new instance of push matched resource router.- Parameters:
resource- RuntimeResource runtime to be pushed into therouting context.
-
-
Method Details
-
apply
Description copied from interface:RouterPerforms a request routing task and returns the routed request together with arouting continuation.
-