public enum ResponseStatusType extends Enum<ResponseStatusType>
| Enum Constant and Description |
|---|
BAD_REQUEST |
CONFLICT |
FAILURE |
INCOMPLETE_SUCCESS |
INTERNAL_SERVER_ERROR |
NOT_FOUND |
OK |
SUCCESS |
UNAUTHORIZED |
| Modifier and Type | Method and Description |
|---|---|
static ResponseStatusType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseStatusType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseStatusType OK
public static final ResponseStatusType SUCCESS
public static final ResponseStatusType INCOMPLETE_SUCCESS
public static final ResponseStatusType BAD_REQUEST
public static final ResponseStatusType UNAUTHORIZED
public static final ResponseStatusType FAILURE
public static final ResponseStatusType NOT_FOUND
public static final ResponseStatusType CONFLICT
public static final ResponseStatusType INTERNAL_SERVER_ERROR
public static ResponseStatusType[] values()
for (ResponseStatusType c : ResponseStatusType.values()) System.out.println(c);
public static ResponseStatusType 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 © 2024 City of Paris. All rights reserved.