Module io.inverno.mod.web.compiler
Package io.inverno.mod.web.compiler.spi
Interface WebRequestBodyParameterInfo
- All Superinterfaces:
io.inverno.core.compiler.spi.Info,io.inverno.core.compiler.spi.ReporterInfo,WebParameterInfo
Describes the request body parameter in a route.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classIndicates the kind of a request body.static classIndicates the reactive kind of a request body. -
Method Summary
Modifier and TypeMethodDescriptionReturns the request body kind.Returns the request body reactive kind.getType()Returns the actual type of the request body.Methods inherited from interface io.inverno.core.compiler.spi.ReporterInfo
error, hasError, hasWarning, warningMethods inherited from interface io.inverno.mod.web.compiler.spi.WebParameterInfo
getElement, getQualifiedName, isRequired
-
Method Details
-
getBodyKind
WebRequestBodyParameterInfo.RequestBodyKind getBodyKind()Returns the request body kind.
- Returns:
- the request body kind
-
getBodyReactiveKind
WebRequestBodyParameterInfo.RequestBodyReactiveKind getBodyReactiveKind()Returns the request body reactive kind.
- Returns:
- the request body reactive kind
-
getType
TypeMirror getType()Returns the actual type of the request body.
When the request body is reactive, this corresponds to the type argument of the reactive type.
- Specified by:
getTypein interfaceWebParameterInfo- Returns:
- the actual body type
-