Module io.inverno.mod.web.compiler
Package io.inverno.mod.web.compiler.spi
Interface WebResponseBodyInfo
public interface WebResponseBodyInfo
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 response body.static classIndicates the reactive kind of a response body. -
Method Summary
Modifier and TypeMethodDescriptionReturns the response body kind.Returns the response body reactive kind.getType()Returns the actual type of the response body.
-
Method Details
-
getType
TypeMirror getType()Returns the actual type of the response body.
When the response body is reactive, this corresponds to the type argument of the reactive type.
- Returns:
- the actual body type
-
getBodyKind
WebResponseBodyInfo.ResponseBodyKind getBodyKind()Returns the response body kind.
- Returns:
- the response body kind
-
getBodyReactiveKind
WebResponseBodyInfo.ResponseBodyReactiveKind getBodyReactiveKind()Returns the response body reactive kind.
- Returns:
- the response body reactive kind
-