public enum Capabilities extends Enum<Capabilities>
Enum Constant and Description |
---|
LongPolling
This message bus can communicate updates using HTTP long polling, commonly known as COMET.
|
ShortPolling
Indicates that this message bus can communicate using HTTP short polling.
|
SSE
This message bus can communicate using Server-Sent Events
|
WebSockets
This message bus can communicate updates using the Errai protocol over a WebSocket channel.
|
Modifier and Type | Method and Description |
---|---|
static Capabilities |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Capabilities[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Capabilities LongPolling
public static final Capabilities ShortPolling
Implementation note: This flag is WACK, man.
public static final Capabilities WebSockets
public static final Capabilities SSE
public static Capabilities[] values()
for (Capabilities c : Capabilities.values()) System.out.println(c);
public static Capabilities 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 © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.