Package org.apache.tomcat.websocket
Enum Class TransformationResult
- All Implemented Interfaces:
Serializable
,Comparable<TransformationResult>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe end of the WebSocket frame was reached and all the data from that frame processed into the provided destination buffer.The provided destination buffer was filled before all of the available data from the WebSocket frame could be processed.The end of the available data was reached before the WebSocket frame was completely read. -
Method Summary
Modifier and TypeMethodDescriptionstatic TransformationResult
Returns the enum constant of this class with the specified name.static TransformationResult[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNDERFLOW
The end of the available data was reached before the WebSocket frame was completely read. -
OVERFLOW
The provided destination buffer was filled before all of the available data from the WebSocket frame could be processed. -
END_OF_FRAME
The end of the WebSocket frame was reached and all the data from that frame processed into the provided destination buffer.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-