Class PushMatchedRuntimeResourceRouter
- java.lang.Object
-
- org.glassfish.jersey.server.internal.routing.PushMatchedRuntimeResourceRouter
-
- All Implemented Interfaces:
Router
final class PushMatchedRuntimeResourceRouter extends java.lang.Object implements Router
Router that pushesruntime resource
matched during a any routing phase 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 RuntimeResource
resource
-
Constructor Summary
Constructors Constructor Description PushMatchedRuntimeResourceRouter(RuntimeResource resource)
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 context)
Performs a request routing task and returns the routed request together with arouting continuation
.
-
-
-
Field Detail
-
resource
private final RuntimeResource resource
-
-
Constructor Detail
-
PushMatchedRuntimeResourceRouter
PushMatchedRuntimeResourceRouter(RuntimeResource resource)
Create a new instance of push matched resource router.- Parameters:
resource
- RuntimeResource runtime to be pushed into therouting context
.
-
-
Method Detail
-
apply
public Router.Continuation apply(RequestProcessingContext context)
Description copied from interface:Router
Performs a request routing task and returns the routed request together with arouting continuation
.
-
-