/** 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); }
/** 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); }
/** 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); }