org.jboss.servlet.http
Enum HttpEvent.EventType

java.lang.Object
  extended by java.lang.Enum<HttpEvent.EventType>
      extended by org.jboss.servlet.http.HttpEvent.EventType
All Implemented Interfaces:
Serializable, Comparable<HttpEvent.EventType>
Enclosing interface:
HttpEvent

public static enum HttpEvent.EventType
extends Enum<HttpEvent.EventType>


Enum Constant Summary
BEGIN
           
END
           
ERROR
           
READ
           
TIMEOUT
           
 
Method Summary
static HttpEvent.EventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HttpEvent.EventType[] 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

BEGIN

public static final HttpEvent.EventType BEGIN

READ

public static final HttpEvent.EventType READ

END

public static final HttpEvent.EventType END

ERROR

public static final HttpEvent.EventType ERROR

TIMEOUT

public static final HttpEvent.EventType TIMEOUT
Method Detail

values

public static HttpEvent.EventType[] 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 (HttpEvent.EventType c : HttpEvent.EventType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static HttpEvent.EventType 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 © 2011. All Rights Reserved.