public class DefaultHandler extends Object implements LinkedHandler
Constructor and Description |
---|
DefaultHandler(Route.Handler next) |
Modifier and Type | Method and Description |
---|---|
Object |
apply(Context ctx)
Execute application code.
|
Route.Handler |
next() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setRoute, then
public DefaultHandler(Route.Handler next)
@Nonnull public Object apply(@Nonnull Context ctx)
Route.Handler
apply
in interface Route.Handler
ctx
- Web context.public Route.Handler next()
next
in interface LinkedHandler
Copyright © 2019. All rights reserved.