com.sun.grizzly.cometd.bayeux
Enum Verb.Type
java.lang.Object
java.lang.Enum<Verb.Type>
com.sun.grizzly.cometd.bayeux.Verb.Type
- All Implemented Interfaces:
- Serializable, Comparable<Verb.Type>
- Enclosing interface:
- Verb
public static enum Verb.Type
- extends Enum<Verb.Type>
Method Summary |
static Verb.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Verb.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
HANDSHAKE
public static final Verb.Type HANDSHAKE
CONNECT
public static final Verb.Type CONNECT
DISCONNECT
public static final Verb.Type DISCONNECT
RECONNECT
public static final Verb.Type RECONNECT
SUBSCRIBE
public static final Verb.Type SUBSCRIBE
UNSUBSCRIBE
public static final Verb.Type UNSUBSCRIBE
PUBLISH
public static final Verb.Type PUBLISH
DELIVER
public static final Verb.Type DELIVER
STATUS
public static final Verb.Type STATUS
PING
public static final Verb.Type PING
DATA
public static final Verb.Type DATA
ADVICE
public static final Verb.Type ADVICE
EXT
public static final Verb.Type EXT
values
public static final Verb.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Verb.Type c : Verb.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Verb.Type valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
Copyright © 2008 SUN Microsystems. All Rights Reserved.