Ejemplo n.º 1
0
 /** This one can be called to add new route. Last added is first in the route list. */
 public static void prependRoute(String method, String path, String action) {
   prependRoute(method, path, action, null, null);
 }
Ejemplo n.º 2
0
 /** Add a new route. Will be first in the route list */
 public static void addRoute(String method, String path, String action) {
   prependRoute(method, path, action);
 }
Ejemplo n.º 3
0
 /** This one can be called to add new route. Last added is first in the route list. */
 public static void prependRoute(String method, String path, String action, String headers) {
   prependRoute(method, path, action, null, headers);
 }