addRoute
addRoute(meth: String;
path: String;
cls: Class) typeMethod;
The addRoute method of the Orb class adds the class specified by the cls parameter as a route with the HTTP method and URL path specified by the meth and path parameters, respectively.
The specified class must implement the IOrbRoute interface.
The meth parameter is an HTTP method and must be one of GET or POST.
If a route with the same HTTP method and name already exists, an exception occurs. For details, see "Routing Engine", elsewhere in this document.
