Class Netty
java.lang.Object
io.micronaut.starter.feature.server.AbstractMicronautServerFeature
io.micronaut.starter.feature.server.Netty
- All Implemented Interfaces:
io.micronaut.core.naming.Described
,io.micronaut.core.naming.Named
,io.micronaut.core.order.Ordered
,Feature
,OneOfFeature
,MicronautRuntimeFeature
,ServerFeature
@Requires(property="micronaut.starter.feature.netty.server.enabled",
value="true",
defaultValue="true")
@Singleton
public class Netty
extends AbstractMicronautServerFeature
-
Field Summary
Fields inherited from interface io.micronaut.starter.feature.MicronautRuntimeFeature
PROPERTY_MICRONAUT_RUNTIME
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
doApply
(GeneratorContext generatorContext) getName()
The name of the feature.getTitle()
@NonNull String
resolveMicronautRuntime
(@NonNull GeneratorContext generatorContext) Methods inherited from class io.micronaut.starter.feature.server.AbstractMicronautServerFeature
apply
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.naming.Described
getDescription
Methods inherited from interface io.micronaut.projectgen.core.feature.Feature
getFrameworkDocumentation, getOrder, getThirdPartyDocumentation, isCommunity, isPreview, isVisible, processSelectedFeatures
Methods inherited from interface io.micronaut.starter.feature.MicronautRuntimeFeature
addMicronautRuntimeBuildProperty
Methods inherited from interface io.micronaut.starter.feature.server.ServerFeature
getCategory, getFeatureClass, supports
-
Constructor Details
-
Netty
public Netty()
-
-
Method Details
-
getName
Description copied from interface:Feature
The name of the feature. It must be unique.- Returns:
- the name of the feature
-
getTitle
- Returns:
- The title of the feature
-
getDescription
-
doApply
- Specified by:
doApply
in classAbstractMicronautServerFeature
-
resolveMicronautRuntime
@NonNull public @NonNull String resolveMicronautRuntime(@NonNull @NonNull GeneratorContext generatorContext)
-