|
Oracle® On Track Communication SDK Documentation Release 1(1.0) E20955-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object
java.lang.Enum<XHTTPStatus>
waggle.core.http.XHTTPStatus
public enum XHTTPStatus
XHTTPStatus.
Enum Constant Summary | |
---|---|
OSSO_LOGIN Oracle SSO Login (499). |
|
OSSO_LOGOUT Oracle SSO Logout (470). |
|
SC_BAD_REQUEST Bad Request (400). |
|
SC_CONFLICT Conflict (409). |
|
SC_CREATED Created (201). |
|
SC_FORBIDDEN Forbidden (403). |
|
SC_INSUFFICIENT_STORAGE Insufficient Storage (507). |
|
SC_INTERNAL_SERVER_ERROR Internal Server Error (500). |
|
SC_LOCKED Locked (423). |
|
SC_METHOD_NOT_ALLOWED Method Not Allowed (405). |
|
SC_MOVED_TEMPORARILY Moved Temporarily (302). |
|
SC_MULTI_STATUS Multi-Status (207). |
|
SC_NO_CONTENT No Content (204). |
|
SC_NOT_FOUND Not Found (404). |
|
SC_NOT_IMPLEMENTED Not Implemented (501). |
|
SC_NOT_MODIFIED Not Modified (304). |
|
SC_OK OK (200). |
|
SC_PARTIAL_CONTENT Partial Content (206). |
|
SC_PRECONDITION_FAILED Precondition Failed (412). |
|
SC_UNAUTHORIZED Unauthorized (401). |
|
SC_UNKNOWN Unknown code (599). |
|
SC_UNSUPPORTED_MEDIA_TYPE Unsupported Media Type (415). |
Method Summary | |
---|---|
int |
getStatus() Get the integer status code. |
String |
getStatusText() Get the descriptive status text. |
boolean |
isSuccess() Return true if the status is in the 200's, indicating success. |
static XHTTPStatus |
valueOf(int status) Convert integer status codes to enum values. |
static XHTTPStatus |
valueOf(String name) Returns the enum constant of this type with the specified name. |
static XHTTPStatus[] |
values() Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final XHTTPStatus SC_OK
public static final XHTTPStatus SC_CREATED
public static final XHTTPStatus SC_NO_CONTENT
public static final XHTTPStatus SC_PARTIAL_CONTENT
public static final XHTTPStatus SC_MULTI_STATUS
public static final XHTTPStatus SC_MOVED_TEMPORARILY
public static final XHTTPStatus SC_NOT_MODIFIED
public static final XHTTPStatus SC_BAD_REQUEST
public static final XHTTPStatus SC_UNAUTHORIZED
public static final XHTTPStatus SC_FORBIDDEN
public static final XHTTPStatus SC_NOT_FOUND
public static final XHTTPStatus SC_METHOD_NOT_ALLOWED
public static final XHTTPStatus SC_CONFLICT
public static final XHTTPStatus SC_PRECONDITION_FAILED
public static final XHTTPStatus SC_UNSUPPORTED_MEDIA_TYPE
public static final XHTTPStatus SC_LOCKED
public static final XHTTPStatus OSSO_LOGOUT
public static final XHTTPStatus OSSO_LOGIN
public static final XHTTPStatus SC_INTERNAL_SERVER_ERROR
public static final XHTTPStatus SC_NOT_IMPLEMENTED
public static final XHTTPStatus SC_INSUFFICIENT_STORAGE
public static final XHTTPStatus SC_UNKNOWN
Method Detail |
---|
public static XHTTPStatus[] values()
for (XHTTPStatus c : XHTTPStatus.values()) System.out.println(c);
public static XHTTPStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getStatus()
public String getStatusText()
public boolean isSuccess()
public static XHTTPStatus valueOf(int status)
status
- Integer status code.
|
Oracle® On Track Communication SDK Documentation Release 1(1.0) E20955-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |