public enum RequestStatusCode extends Enum<RequestStatusCode>
| Enum Constant and Description |
|---|
ERROR |
IN_PROGRESS |
NOT_STARTED |
OK |
| Modifier and Type | Method and Description |
|---|---|
static RequestStatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestStatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestStatusCode OK
public static final RequestStatusCode NOT_STARTED
public static final RequestStatusCode IN_PROGRESS
public static final RequestStatusCode ERROR
public static RequestStatusCode[] values()
for (RequestStatusCode c : RequestStatusCode.values()) System.out.println(c);
public static RequestStatusCode 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 nullCopyright © 2021. All rights reserved.