/** * @see StringUtils#matchId(String) * @param str string * @param thatIt that it string represent */ public static void matchId(String str, String thatIt) { badRequest(str != null && StringUtils.matchId(str), "The \"{0}\" is not match with '[A-Za-z0-9-_:.]+': \"{1}\"", thatIt, str); } }