com.sun.grizzly.cometd.bayeux
Enum Verb.Type

java.lang.Object
  extended by java.lang.Enum<Verb.Type>
      extended by 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>


Enum Constant Summary
ADVICE
           
CONNECT
           
DATA
           
DELIVER
           
DISCONNECT
           
EXT
           
HANDSHAKE
           
PING
           
PUBLISH
           
RECONNECT
           
STATUS
           
SUBSCRIBE
           
UNSUBSCRIBE
           
 
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 are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

values

public static Verb.Type[] values()
Returns an array containing the constants of this enum type, in the order they are 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 are 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
NullPointerException - if the argument is null


Copyright © 2012 Oracle Corporation. All Rights Reserved.