Module io.inverno.mod.web.compiler
Package io.inverno.mod.web.compiler.spi
Interface WebParameterInfo
- All Superinterfaces:
io.inverno.core.compiler.spi.Info,io.inverno.core.compiler.spi.ReporterInfo
- All Known Subinterfaces:
WebBasicParameterInfo,WebCookieParameterInfo,WebExchangeParameterInfo,WebFormParameterInfo,WebHeaderParameterInfo,WebPathParameterInfo,WebQueryParameterInfo,WebRequestBodyParameterInfo,WebSseEventFactoryParameterInfo
public interface WebParameterInfo
extends io.inverno.core.compiler.spi.Info
Common web route parameter information.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
WebRouteInfo
-
Method Summary
Modifier and TypeMethodDescriptionReturns the web parameter element.getType()Returns the type of the parameter.booleanDetermines whether the parameter is required.Methods inherited from interface io.inverno.core.compiler.spi.ReporterInfo
error, hasError, hasWarning, warning
-
Method Details
-
getQualifiedName
WebParameterQualifiedName getQualifiedName()- Specified by:
getQualifiedNamein interfaceio.inverno.core.compiler.spi.Info
-
getElement
VariableElement getElement()Returns the web parameter element.
- Returns:
- a variable element
-
isRequired
boolean isRequired()Determines whether the parameter is required.
- Returns:
- true if the parameter is required, false otherwise
-
getType
TypeMirror getType()Returns the type of the parameter.
- Returns:
- the parameter type
-