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

      List<Route> 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

      List<Route> getRoutes()
      Get web application routes.
      Returns:
      routes