public static enum ServletHelper.RequestType extends Enum<ServletHelper.RequestType>
| Enum Constant and Description |
|---|
HEARTBEAT
Heartbeat requests.
|
PUSH
Push requests (any transport).
|
UIDL
UIDL requests.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getIdentifier()
Returns the identifier for the request type.
|
static ServletHelper.RequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServletHelper.RequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServletHelper.RequestType UIDL
public static final ServletHelper.RequestType HEARTBEAT
public static final ServletHelper.RequestType PUSH
public static ServletHelper.RequestType[] values()
for (ServletHelper.RequestType c : ServletHelper.RequestType.values()) System.out.println(c);
public static ServletHelper.RequestType 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 nullpublic String getIdentifier()
Copyright © 2025. All rights reserved.