commit method

  1. @override
void commit(
  1. Spanner spanner
)
override

Implementation

@override
void commit(Spanner spanner) {
  final handler = ApplicationFactory.buildControllerMethod(method);
  for (final routeMethod in route.methods) {
    spanner.addRoute(routeMethod, route.path, useRequestHandler(handler));
  }
}