Home | History | Annotate | Download | only in opp

Lines Matching refs:status

177      * The name of the column containing the current status of the transfer.
187 public static final String STATUS = "status";
278 * Returns whether the status is informational (i.e. 1xx).
280 public static boolean isStatusInformational(int status) {
281 return (status >= 100 && status < 200);
288 public static boolean isStatusSuspended(int status) {
289 return (status == STATUS_PENDING);
293 * Returns whether the status is a success (i.e. 2xx).
295 public static boolean isStatusSuccess(int status) {
296 return (status >= 200 && status < 300);
300 * Returns whether the status is an error (i.e. 4xx or 5xx).
302 public static boolean isStatusError(int status) {
303 return (status >= 400 && status < 600);
307 * Returns whether the status is a client error (i.e. 4xx).
309 public static boolean isStatusClientError(int status) {
310 return (status >= 400 && status < 500);
314 * Returns whether the status is a server error (i.e. 5xx).
316 public static boolean isStatusServerError(int status) {
317 return (status >= 500 && status < 600);
324 public static boolean isStatusCompleted(int status) {
325 return (status >= 200 && status < 300) || (status >= 400 && status < 600);
340 * status values that indicate success in the future. Use isSucccess() to
385 * status values that indicate errors in the future. Use isStatusError() to