public enum SuccessfulResponse extends java.lang.Enum<SuccessfulResponse>
| Enum Constant and Description |
|---|
RESPONSE_1000 |
RESPONSE_1001 |
RESPONSE_1300 |
RESPONSE_1301 |
RESPONSE_1500 |
| Modifier and Type | Method and Description |
|---|---|
static SuccessfulResponse |
fromValue(int code) |
static java.util.List<java.lang.Integer> |
getAllSuccessfulCodes() |
int |
getCode() |
java.lang.String |
getMessage() |
java.lang.String |
toString() |
static SuccessfulResponse |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SuccessfulResponse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SuccessfulResponse RESPONSE_1000
public static final SuccessfulResponse RESPONSE_1001
public static final SuccessfulResponse RESPONSE_1300
public static final SuccessfulResponse RESPONSE_1301
public static final SuccessfulResponse RESPONSE_1500
public static SuccessfulResponse[] values()
for (SuccessfulResponse c : SuccessfulResponse.values()) System.out.println(c);
public static SuccessfulResponse valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getCode()
public java.lang.String getMessage()
public static java.util.List<java.lang.Integer> getAllSuccessfulCodes()
public static SuccessfulResponse fromValue(int code)
public java.lang.String toString()
toString in class java.lang.Enum<SuccessfulResponse>Copyright © 2021. All rights reserved.