Module io.inverno.mod.web.compiler
Package io.inverno.mod.web.compiler.spi
Interface WebSseEventFactoryParameterInfo
- All Superinterfaces:
io.inverno.core.compiler.spi.Info,io.inverno.core.compiler.spi.ReporterInfo,WebParameterInfo
Describes the server-sent event factory route parameter.
- Author:
- Jeremy Kuhn
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classIndicates the kind of a server-sent event factory. -
Method Summary
Modifier and TypeMethodDescriptionReturns the media type specified in the server-sent event factory parameter.Returns the server-sent event factory kind.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, getType, isRequired
-
Method Details
-
getEventFactoryKind
WebSseEventFactoryParameterInfo.SseEventFactoryKind getEventFactoryKind()Returns the server-sent event factory kind.
- Returns:
- the server-sent event factory kind
-
getDataMediaType
Returns the media type specified in the server-sent event factory parameter.
- Returns:
- a media type
-