public enum TransformationResult extends Enum<TransformationResult>
Enum Constant and Description |
---|
END_OF_FRAME
The end of the WebSocket frame was reached and all the data from that
frame processed into the provided destination buffer.
|
OVERFLOW
The provided destination buffer was filled before all of the available
data from the WebSocket frame could be processed.
|
UNDERFLOW
The end of the available data was reached before the WebSocket frame was
completely read.
|
Modifier and Type | Method and Description |
---|---|
static TransformationResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransformationResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransformationResult UNDERFLOW
public static final TransformationResult OVERFLOW
public static final TransformationResult END_OF_FRAME
public static TransformationResult[] values()
for (TransformationResult c : TransformationResult.values()) System.out.println(c);
public static TransformationResult 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 © 2000-2021 Apache Software Foundation. All Rights Reserved.