Module io.inverno.mod.web.compiler
Package io.inverno.mod.web.compiler.spi
Enum WebResponseBodyInfo.ResponseBodyReactiveKind
java.lang.Object
java.lang.Enum<WebResponseBodyInfo.ResponseBodyReactiveKind>
io.inverno.mod.web.compiler.spi.WebResponseBodyInfo.ResponseBodyReactiveKind
- All Implemented Interfaces:
Serializable,Comparable<WebResponseBodyInfo.ResponseBodyReactiveKind>,java.lang.constant.Constable
- Enclosing interface:
- WebResponseBodyInfo
public static enum WebResponseBodyInfo.ResponseBodyReactiveKind
extends Enum<WebResponseBodyInfo.ResponseBodyReactiveKind>
Indicates the reactive kind of a response body.
- 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 body is of typeFlux<T>whereTrepresents the actual response body type.The body is not of a reactive type.The body is of typeMono<T>whereTrepresents the actual response body type.The body is of typePublisher<T>whereTrepresents the actual response body type. -
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
-
NONE
The body is not of a reactive type. -
PUBLISHER
The body is of typePublisher<T>whereTrepresents the actual response body type. -
ONE
The body is of typeMono<T>whereTrepresents the actual response body type. -
MANY
The body is of typeFlux<T>whereTrepresents the actual response body type.
-
-
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
-