/** * Send a todo response */ protected static void todo() { notFound("This action has not been implemented Yet (" + request.action + ")"); }
/** * Send a 404 Not Found response if object is null * * @param o * The object to check */ protected static void notFoundIfNull(Object o) { if (o == null) { notFound(); } }
/** * Send a 404 Not Found response if object is null * * @param o * The object to check * @param what * The Not Found resource name */ protected static void notFoundIfNull(Object o, String what) { if (o == null) { notFound(what); } }