- All Superinterfaces:
Route.Aware
,Serializable
- All Known Implementing Classes:
AssetHandler
- Enclosing class:
- Route
Route handler here is where the application logic lives.
- Since:
- 2.0.0
- Author:
- edgar
-
Method Summary
Modifier and TypeMethodDescriptionExecute application code.default Route.Handler
then
(Route.After next) Chain this after decorator with next and produces a new decorator.Methods inherited from interface io.jooby.Route.Aware
setRoute
-
Method Details
-
apply
Execute application code.- Parameters:
ctx
- Web context.- Returns:
- Route response.
- Throws:
Exception
- If something goes wrong.
-
then
Chain this after decorator with next and produces a new decorator.- Parameters:
next
- Next decorator.- Returns:
- A new handler.
-