com.bea.wlp.rest.results
Enum ResponseCode

java.lang.Object
  extended by java.lang.Enum<ResponseCode>
      extended by 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.


Enum Constant Summary
InsufficientInformation
           
InsufficientPrivileges
           
InternalError
           
InvalidCommand
           
OK
           
ServiceNotAvailable
           
ServiceTemporaryNotAvailable
           
Unauthorized
           
UnsupportedMethod
           
 
Method Summary
 String getMessage()
           
 ResponseMessage getResponseMessage()
           
 int getStatus()
           
static ResponseCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ResponseCode[] values()
          Returns an array containing the constants of this enum type, in the order theyre declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.