addView

addView(path : String; 
        cls :  Class) typeMethod;

The addView method of the Orb class adds the class specified by the cls parameter as a route for the GET and POST HTTP methods, and the URL path specified in the path parameter.

This method is intended for routes that respond to Orb Views. For details, see "Orb Views", elsewhere in this document.