com.stackmob.sdk.util
Class Http

java.lang.Object
  extended by com.stackmob.sdk.util.Http

public class Http
extends Object


Field Summary
static Integer SuccessResponseLowerLimit
           
static Integer SuccessResponseUpperLimit
           
 
Constructor Summary
Http()
           
 
Method Summary
static boolean isSuccess(Integer statusCode)
          determine whether a given status code represents a success
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SuccessResponseLowerLimit

public static final Integer SuccessResponseLowerLimit

SuccessResponseUpperLimit

public static final Integer SuccessResponseUpperLimit
Constructor Detail

Http

public Http()
Method Detail

isSuccess

public static boolean isSuccess(Integer statusCode)
determine whether a given status code represents a success

Parameters:
statusCode - the status code to test
Returns:
true if it's a success, false otherwise


Copyright © 2012 StackMob. All Rights Reserved.