public static enum SubscribeHeader.Ack extends java.lang.Enum<SubscribeHeader.Ack>
| Enum Constant and Description |
|---|
auto
The auto.
|
client
The client.
|
clientIndividual
The client individual.
|
| Modifier and Type | Method and Description |
|---|---|
static SubscribeHeader.Ack |
fromString(java.lang.String s)
From string.
|
java.lang.String |
getAckValue()
Gets the ack value.
|
static SubscribeHeader.Ack |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubscribeHeader.Ack[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscribeHeader.Ack auto
public static final SubscribeHeader.Ack client
public static final SubscribeHeader.Ack clientIndividual
public static SubscribeHeader.Ack[] values()
for (SubscribeHeader.Ack c : SubscribeHeader.Ack.values()) System.out.println(c);
public static SubscribeHeader.Ack 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 java.lang.String getAckValue()
public static SubscribeHeader.Ack fromString(java.lang.String s)
s - the s