protected static enum DefaultConnectionStateHandler.Type extends Enum<DefaultConnectionStateHandler.Type>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isHigherPriorityThan(DefaultConnectionStateHandler.Type type)
Checks if this type is of higher priority than the given type.
|
boolean |
isMessage() |
static DefaultConnectionStateHandler.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultConnectionStateHandler.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultConnectionStateHandler.Type HEARTBEAT
public static final DefaultConnectionStateHandler.Type PUSH
public static final DefaultConnectionStateHandler.Type XHR
public static DefaultConnectionStateHandler.Type[] values()
for (DefaultConnectionStateHandler.Type c : DefaultConnectionStateHandler.Type.values()) System.out.println(c);
public static DefaultConnectionStateHandler.Type 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 boolean isMessage()
public boolean isHigherPriorityThan(DefaultConnectionStateHandler.Type type)
type - the type to compare toCopyright © 2000–2025 Vaadin Ltd. All rights reserved.