Exemple #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);
 }
Exemple #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);
 }
Exemple #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);
 }