/** * Maps an OPTION path. */ public ActionBuilder options(final String path) { return new ActionBuilder().path(path).httpMethod("OPTIONS"); }
/** * Maps a PUT path. */ public ActionBuilder put(final String path) { return new ActionBuilder().path(path).httpMethod("PUT"); } /**
/** * Maps a GET path. */ public ActionBuilder get(final String path) { return new ActionBuilder().path(path).httpMethod("GET"); } /**
/** * Maps a POST path. */ public ActionBuilder post(final String path) { return new ActionBuilder().path(path).httpMethod("POST"); } /**
/** * Starts with action registration i.e. route binding. */ public ActionBuilder route() { return new ActionBuilder(); }
/** * Maps a DELETE path. */ public ActionBuilder delete(final String path) { return new ActionBuilder().path(path).httpMethod("DELETE"); } /**