public static boolean isSuccess(int code)
public boolean isSuccess()
   public static boolean isSuccess(int code)   {      boolean result = false;      switch(code)      {         case 200:         case 201:         case 202:         case 203:         case 204:         case 205:         case 206:         case 207:            result = true;         break;      }      return result;   }