Lines Matching refs:status
171 * The name of the column containing the current status of the transfer.
181 public static final String STATUS = "status";
272 * Returns whether the status is informational (i.e. 1xx).
274 public static boolean isStatusInformational(int status) {
275 return (status >= 100 && status < 200);
282 public static boolean isStatusSuspended(int status) {
283 return (status == STATUS_PENDING);
287 * Returns whether the status is a success (i.e. 2xx).
289 public static boolean isStatusSuccess(int status) {
290 return (status >= 200 && status < 300);
294 * Returns whether the status is an error (i.e. 4xx or 5xx).
296 public static boolean isStatusError(int status) {
297 return (status >= 400 && status < 600);
301 * Returns whether the status is a client error (i.e. 4xx).
303 public static boolean isStatusClientError(int status) {
304 return (status >= 400 && status < 500);
308 * Returns whether the status is a server error (i.e. 5xx).
310 public static boolean isStatusServerError(int status) {
311 return (status >= 500 && status < 600);
318 public static boolean isStatusCompleted(int status) {
319 return (status >= 200 && status < 300) || (status >= 400 && status < 600);
334 * status values that indicate success in the future. Use isSucccess() to
379 * status values that indicate errors in the future. Use isStatusError() to