Lines Matching refs:status
210 * The name of the column containing the current status of the download.
216 public static final String COLUMN_STATUS = "status";
220 * status changed in the download. Stored as a System.currentTimeMillis()
519 * Returns whether the status is informational (i.e. 1xx).
521 public static boolean isStatusInformational(int status) {
522 return (status >= 100 && status < 200);
526 * Returns whether the status is a success (i.e. 2xx).
528 public static boolean isStatusSuccess(int status) {
529 return (status >= 200 && status < 300);
533 * Returns whether the status is an error (i.e. 4xx or 5xx).
535 public static boolean isStatusError(int status) {
536 return (status >= 400 && status < 600);
540 * Returns whether the status is a client error (i.e. 4xx).
542 public static boolean isStatusClientError(int status) {
543 return (status >= 400 && status < 500);
547 * Returns whether the status is a server error (i.e. 5xx).
549 public static boolean isStatusServerError(int status) {
550 return (status >= 500 && status < 600);
568 public static boolean isStatusCompleted(int status) {
569 return (status >= 200 && status < 300) || (status >= 400 && status < 600);
618 * Warning: there might be other status values that indicate success
655 * The lowest-valued error status that is not an actual HTTP status code.
676 * Warning: there will be other status values that indicate errors in
732 public static String statusToString(int status) {
733 switch (status) {
758 default: return Integer.toString(status);