Module io.inverno.mod.web.compiler
Package io.inverno.mod.web.compiler.spi
Interface WebControllerInfo
- All Superinterfaces:
io.inverno.core.compiler.spi.Info,io.inverno.core.compiler.spi.ReporterInfo
public interface WebControllerInfo
extends io.inverno.core.compiler.spi.Info
Describes a web controller.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionReturns the type element defining the web controller.io.inverno.core.compiler.spi.BeanQualifiedNameReturns the web controller root path.Returns the web routes defined in the web controller.getType()Returns the type of the web controller.Methods inherited from interface io.inverno.core.compiler.spi.ReporterInfo
error, hasError, hasWarning, warning
-
Method Details
-
getQualifiedName
io.inverno.core.compiler.spi.BeanQualifiedName getQualifiedName()- Specified by:
getQualifiedNamein interfaceio.inverno.core.compiler.spi.Info
-
getElement
TypeElement getElement()Returns the type element defining the web controller.
- Returns:
- a type element
-
getType
DeclaredType getType()Returns the type of the web controller.
- Returns:
- a type
-
getRootPath
String getRootPath()Returns the web controller root path.
- Returns:
- an absolute normalized path
-
getRoutes
WebRouteInfo[] getRoutes()Returns the web routes defined in the web controller.
- Returns:
- an array of web route info
-