|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Capabilities>
org.jboss.errai.bus.client.api.base.Capabilities
public enum Capabilities
An enumeration of the possible mechanisms by which a bus can communicate with another remote bus.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |