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