code: function registerHandler(routeItem, headler) {
      let method = routeItem.method.toLowerCase();
      debug(
          'Binding "%s" to path "%s" with method "%s"',
          routeItem.handler, routeItem.path, method.toUpperCase()
      );
      headler.actionHandler = true;
      components.app[method](routeItem.path, headler);
  }
docs: register route path with acually function