public static enum HttpEvent.EventType extends Enum<HttpEvent.EventType>
Enum Constant and Description |
---|
BEGIN |
END |
EOF |
ERROR |
EVENT |
READ |
TIMEOUT |
WRITE |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final HttpEvent.EventType BEGIN
public static final HttpEvent.EventType END
public static final HttpEvent.EventType ERROR
public static final HttpEvent.EventType EVENT
public static final HttpEvent.EventType READ
public static final HttpEvent.EventType EOF
public static final HttpEvent.EventType TIMEOUT
public static final HttpEvent.EventType WRITE
public static HttpEvent.EventType[] values()
for (HttpEvent.EventType c : HttpEvent.EventType.values()) System.out.println(c);
public static HttpEvent.EventType 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 © 2014 JBoss by Red Hat. All Rights Reserved.