com.bea.wlp.rest.results
Enum ResponseCode
java.lang.Object
java.lang.Enum<ResponseCode>
com.bea.wlp.rest.results.ResponseCode
- All Implemented Interfaces
- Serializable, Comparable<ResponseCode>
public enum ResponseCode
- extends Enum<ResponseCode>
Represents an HTTP Response code and message that can be returned
by a RestResult
.
OK
public static final ResponseCode OK
ServiceNotAvailable
public static final ResponseCode ServiceNotAvailable
ServiceTemporaryNotAvailable
public static final ResponseCode ServiceTemporaryNotAvailable
InsufficientPrivileges
public static final ResponseCode InsufficientPrivileges
InsufficientInformation
public static final ResponseCode InsufficientInformation
InternalError
public static final ResponseCode InternalError
InvalidCommand
public static final ResponseCode InvalidCommand
UnsupportedMethod
public static final ResponseCode UnsupportedMethod
Unauthorized
public static final ResponseCode Unauthorized
values
public static final ResponseCode[] values()
- Returns an array containing the constants of this enum type, in the order theyre declared.
valueOf
public static ResponseCode valueOf(String name)
- Returns the enum constant of this type with the specified name.
getStatus
public int getStatus()
getMessage
public String getMessage()
getResponseMessage
public ResponseMessage getResponseMessage()
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.