Package org.apache.tomcat.websocket
Enum TransformationResult
- All Implemented Interfaces:
Serializable
,Comparable<TransformationResult>
,java.lang.constant.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 type with the specified name.static TransformationResult[]
values()
Returns an array containing the constants of this enum type, 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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-