public static enum AsyncEmitter.BackpressureMode extends java.lang.Enum<AsyncEmitter.BackpressureMode>
Modifier and Type | Method and Description |
---|---|
static AsyncEmitter.BackpressureMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AsyncEmitter.BackpressureMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsyncEmitter.BackpressureMode NONE
public static final AsyncEmitter.BackpressureMode ERROR
public static final AsyncEmitter.BackpressureMode BUFFER
public static final AsyncEmitter.BackpressureMode DROP
public static final AsyncEmitter.BackpressureMode LATEST
public static AsyncEmitter.BackpressureMode[] values()
for (AsyncEmitter.BackpressureMode c : AsyncEmitter.BackpressureMode.values()) System.out.println(c);
public static AsyncEmitter.BackpressureMode 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 null