public static enum CometEvent.EventSubType extends Enum<CometEvent.EventSubType>
Enum Constant and Description |
---|
CLIENT_DISCONNECT |
IOEXCEPTION |
SERVER_SHUTDOWN |
SESSION_END |
TIMEOUT |
WEBAPP_RELOAD |
Modifier and Type | Method and Description |
---|---|
static CometEvent.EventSubType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CometEvent.EventSubType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CometEvent.EventSubType TIMEOUT
public static final CometEvent.EventSubType CLIENT_DISCONNECT
public static final CometEvent.EventSubType IOEXCEPTION
public static final CometEvent.EventSubType WEBAPP_RELOAD
public static final CometEvent.EventSubType SERVER_SHUTDOWN
public static final CometEvent.EventSubType SESSION_END
public static CometEvent.EventSubType[] values()
for (CometEvent.EventSubType c : CometEvent.EventSubType.values()) System.out.println(c);
public static CometEvent.EventSubType 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 © 2000-2021 Apache Software Foundation. All Rights Reserved.