Module io.inverno.mod.web.compiler
Package io.inverno.mod.web.compiler.spi
Enum WebSseEventFactoryParameterInfo.SseEventFactoryKind
java.lang.Object
java.lang.Enum<WebSseEventFactoryParameterInfo.SseEventFactoryKind>
io.inverno.mod.web.compiler.spi.WebSseEventFactoryParameterInfo.SseEventFactoryKind
- All Implemented Interfaces:
Serializable,Comparable<WebSseEventFactoryParameterInfo.SseEventFactoryKind>,java.lang.constant.Constable
- Enclosing interface:
- WebSseEventFactoryParameterInfo
public static enum WebSseEventFactoryParameterInfo.SseEventFactoryKind
extends Enum<WebSseEventFactoryParameterInfo.SseEventFactoryKind>
Indicates the kind of a server-sent event factory.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe event data type isCharSequence.The event data type is any type other thanByteBufThe event data type isByteBuf. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RAW
The event data type isByteBuf. -
CHARSEQUENCE
The event data type isCharSequence. -
ENCODED
The event data type is any type other thanByteBuf
-
-
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
-