public enum AmqpResponseCode extends Enum<AmqpResponseCode>
| Enum Constant and Description |
|---|
ACCEPTED |
BAD_REQUEST |
FORBIDDEN |
INTERNAL_SERVER_ERROR |
NOT_FOUND |
OK |
UNAUTHORIZED |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static AmqpResponseCode |
valueOf(int value) |
static AmqpResponseCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AmqpResponseCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AmqpResponseCode ACCEPTED
public static final AmqpResponseCode OK
public static final AmqpResponseCode BAD_REQUEST
public static final AmqpResponseCode NOT_FOUND
public static final AmqpResponseCode FORBIDDEN
public static final AmqpResponseCode INTERNAL_SERVER_ERROR
public static final AmqpResponseCode UNAUTHORIZED
public static AmqpResponseCode[] values()
for (AmqpResponseCode c : AmqpResponseCode.values()) System.out.println(c);
public static AmqpResponseCode 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 static AmqpResponseCode valueOf(int value)
public int getValue()
Copyright © 2019. All rights reserved.