Interface ControllerHooks.Invocation

Enclosing class:
ControllerHooks

public static interface ControllerHooks.Invocation
What a generated router implements: running route route of itself.
  • Method Details

    • proceed

      HttpServer.Response proceed(int route, HttpServer.Request request, String[] bound) throws Exception
      Parameters:
      route - the route's index in the router
      request - the request
      bound - the path variables, or null for a static route
      Returns:
      the response
      Throws:
      Exception - whatever binding or the controller threw