Annotation Interface RequiresNettyServer
@RequiresNetty
@Requires(property="micronaut.server.netty.enabled",
notEquals="false")
@Documented
@Retention(RUNTIME)
@Target({PACKAGE,TYPE,ANNOTATION_TYPE,METHOD})
public @interface RequiresNettyServer
Requires the Netty HTTP server to be enabled. The server is enabled by default
and can be disabled with
micronaut.server.netty.enabled=false.- Since:
- 5.2.0