|
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_LOGINOracle SSO Login (499). |
|
OSSO_LOGOUTOracle SSO Logout (470). |
|
SC_BAD_REQUESTBad Request (400). |
|
SC_CONFLICTConflict (409). |
|
SC_CREATEDCreated (201). |
|
SC_FORBIDDENForbidden (403). |
|
SC_INSUFFICIENT_STORAGEInsufficient Storage (507). |
|
SC_INTERNAL_SERVER_ERRORInternal Server Error (500). |
|
SC_LOCKEDLocked (423). |
|
SC_METHOD_NOT_ALLOWEDMethod Not Allowed (405). |
|
SC_MOVED_TEMPORARILYMoved Temporarily (302). |
|
SC_MULTI_STATUSMulti-Status (207). |
|
SC_NO_CONTENTNo Content (204). |
|
SC_NOT_FOUNDNot Found (404). |
|
SC_NOT_IMPLEMENTEDNot Implemented (501). |
|
SC_NOT_MODIFIEDNot Modified (304). |
|
SC_OKOK (200). |
|
SC_PARTIAL_CONTENTPartial Content (206). |
|
SC_PRECONDITION_FAILEDPrecondition Failed (412). |
|
SC_UNAUTHORIZEDUnauthorized (401). |
|
SC_UNKNOWNUnknown code (599). |
|
SC_UNSUPPORTED_MEDIA_TYPEUnsupported 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 | |||||||||