Router.Continuation
Modifier and Type | Field and Description |
---|---|
private MethodHandler |
methodHandler |
private Router |
next |
Constructor and Description |
---|
PushMethodHandlerRouter(MethodHandler methodHandler,
Router next)
Create a new
PushMethodHandlerRouter instance. |
Modifier and Type | Method and Description |
---|---|
Router.Continuation |
apply(RequestProcessingContext context)
Performs a request routing task and returns the routed request together with
a
routing continuation . |
private final MethodHandler methodHandler
private final Router next
PushMethodHandlerRouter(MethodHandler methodHandler, Router next)
PushMethodHandlerRouter
instance.methodHandler
- method handler model providing the method handler
instance.next
- next router to be invoked after the this one.public Router.Continuation apply(RequestProcessingContext context)
Router
routing continuation
.