is Valid Http Status - Android Network

Android examples for Network:HTTP

Description

is Valid Http Status

Demo Code


//package com.java2s;

public class Main {
    public static boolean isValidHttpStatus(final int status) {
        return ((status >= 200) && (status < 300));
    }//from  ww w  .ja  va  2s.c  o  m
}

Related Tutorials