public enum ResponseMessageSortMode extends Enum<ResponseMessageSortMode>
| Enum Constant and Description |
|---|
AS_APPEARS
This is the default which means in the order they appear in the javadoc
|
CODE_ASC
This means in ascending order of the HTTP status code so success codes would come before error codes, this is the default
|
CODE_DESC
This means in descending order of the HTTP status code so error codes would come before success codes
|
| Modifier and Type | Method and Description |
|---|---|
static ResponseMessageSortMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseMessageSortMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseMessageSortMode AS_APPEARS
public static final ResponseMessageSortMode CODE_ASC
public static final ResponseMessageSortMode CODE_DESC
public static ResponseMessageSortMode[] values()
for (ResponseMessageSortMode c : ResponseMessageSortMode.values()) System.out.println(c);
public static ResponseMessageSortMode 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 © 2015. All rights reserved.