com.pubnub.api
Class HttpUtil
java.lang.Object
com.pubnub.api.HttpUtil
public class HttpUtil
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTP_MOVED_PERM
public static final int HTTP_MOVED_PERM
- See Also:
- Constant Field Values
HTTP_MOVED_TEMP
public static final int HTTP_MOVED_TEMP
- See Also:
- Constant Field Values
HTTP_SEE_OTHER
public static final int HTTP_SEE_OTHER
- See Also:
- Constant Field Values
HTTP_OK
public static final int HTTP_OK
- See Also:
- Constant Field Values
HTTP_FORBIDDEN
public static final int HTTP_FORBIDDEN
- See Also:
- Constant Field Values
HTTP_UNAUTHORIZED
public static final int HTTP_UNAUTHORIZED
- See Also:
- Constant Field Values
HTTP_BAD_REQUEST
public static final int HTTP_BAD_REQUEST
- See Also:
- Constant Field Values
HTTP_BAD_GATEWAY
public static final int HTTP_BAD_GATEWAY
- See Also:
- Constant Field Values
HTTP_CLIENT_TIMEOUT
public static final int HTTP_CLIENT_TIMEOUT
- See Also:
- Constant Field Values
HTTP_GATEWAY_TIMEOUT
public static final int HTTP_GATEWAY_TIMEOUT
- See Also:
- Constant Field Values
HTTP_INTERNAL_ERROR
public static final int HTTP_INTERNAL_ERROR
- See Also:
- Constant Field Values
HttpUtil
public HttpUtil()
isRedirect
public static boolean isRedirect(int rc)
isOk
public static boolean isOk(int rc)
checkResponse
public static boolean checkResponse(int rc)
checkResponseSuccess
public static boolean checkResponseSuccess(int rc)