public static enum BroadcastFilter.BroadcastAction.ACTION extends java.lang.Enum<BroadcastFilter.BroadcastAction.ACTION>
| Enum Constant and Description |
|---|
ABORT
Return ABORT to stop invoking any remaining
BroadcastFilter and to discard the message
for being delivered to AtmosphereHandler.onStateChange(AtmosphereResourceEvent). |
CONTINUE
Return CONTINUE to invoke all remaining
BroadcastFilters. |
SKIP
Return SKIP to stop invoking any remaining
BroadcastFilter, but deliver the last transformed message. |
| Modifier and Type | Method and Description |
|---|---|
static BroadcastFilter.BroadcastAction.ACTION |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BroadcastFilter.BroadcastAction.ACTION[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BroadcastFilter.BroadcastAction.ACTION CONTINUE
BroadcastFilters.public static final BroadcastFilter.BroadcastAction.ACTION ABORT
BroadcastFilter and to discard the message
for being delivered to AtmosphereHandler.onStateChange(AtmosphereResourceEvent).public static final BroadcastFilter.BroadcastAction.ACTION SKIP
BroadcastFilter, but deliver the last transformed message.public static BroadcastFilter.BroadcastAction.ACTION[] values()
for (BroadcastFilter.BroadcastAction.ACTION c : BroadcastFilter.BroadcastAction.ACTION.values()) System.out.println(c);
public static BroadcastFilter.BroadcastAction.ACTION valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2017. All Rights Reserved.