public enum MessageState extends Enum<MessageState>
| Modifier and Type | Method and Description |
|---|---|
static MessageState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageState IDLE
public static final MessageState HEADERS
public static final MessageState ACK
public static final MessageState BODY
public static final MessageState COMPLETE
public static MessageState[] values()
for (MessageState c : MessageState.values()) System.out.println(c);
public static MessageState 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 © 2005–2022 The Apache Software Foundation. All rights reserved.