Skip navigation links


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()

Skip navigation links


Copyright © 2010, Oracle. All rights reserved.