com.stackmob.sdk.util
Class Http
java.lang.Object
com.stackmob.sdk.util.Http
public class Http
- extends Object
|
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 |
SuccessResponseLowerLimit
public static final Integer SuccessResponseLowerLimit
SuccessResponseUpperLimit
public static final Integer SuccessResponseUpperLimit
Http
public Http()
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.