Package ch.autumo.beetroot.routing
Interface Router
- All Known Implementing Classes:
BeetRootDefaultRouter
public interface Router
Router interface.
-
Method Details
-
getNotImplementedHandler
Class<?> getNotImplementedHandler()Get not implemented handler class. return not implemented handler class- Returns:
- 'not-implemented' handler class
-
getNotFoundHandler
Class<?> getNotFoundHandler()Get not found handler class. return not found handler class- Returns:
- 'not-found' handler class
-
getDefaultRoutes
Return the default routes. Default routes are the routes for the first page that should be shown, if someone enters URLs suc as '/' or '/index.html', etc. They should have have priority less than the default priority 100.- Returns:
- default routes.
-
getRoutes
Get web application routes.- Returns:
- routes
-