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