public enum BatchMode extends java.lang.Enum<BatchMode>
OutgoingFrames.outgoingFrame(org.eclipse.jetty.websocket.api.extensions.Frame, WriteCallback, BatchMode).| Enum Constant | Description |
|---|---|
AUTO |
Implementers are free to decide whether to send or not frames
to the network layer.
|
OFF |
Implementers must send frames to the network layer.
|
ON |
Implementers must batch frames.
|
| Modifier and Type | Method | Description |
|---|---|---|
static BatchMode |
max(BatchMode one,
BatchMode two) |
|
static BatchMode |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static BatchMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BatchMode AUTO
public static final BatchMode ON
public static final BatchMode OFF
public static BatchMode[] values()
for (BatchMode c : BatchMode.values()) System.out.println(c);
public static BatchMode 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 © 1995–2018 Webtide. All rights reserved.