is Ok HTTP Code - Android Network

Android examples for Network:HTTP

Description

is Ok HTTP Code

Demo Code


//package com.java2s;

public class Main {
    public static boolean isOkCode(int statusCode) {
        return statusCode >= 300 || statusCode < 200;
    }//from   w  ww . j av  a  2  s  .  c o m
}

Related Tutorials