Interface ServerFeature

All Superinterfaces:
io.micronaut.core.naming.Described, Feature, io.micronaut.core.naming.Named, OneOfFeature, io.micronaut.core.order.Ordered
All Known Subinterfaces:
ThirdPartyServerFeature
All Known Implementing Classes:
AbstractMicronautServerFeature, AbstractServletFeature, HttpPoja, Jetty, Ktor, Netty, Tomcat, Undertow

public interface ServerFeature extends OneOfFeature
  • Method Details

    • getFeatureClass

      default Class<?> getFeatureClass()
      Specified by:
      getFeatureClass in interface OneOfFeature
    • supports

      default boolean supports(ApplicationType applicationType)
      Description copied from interface: Feature
      This method must be implemented to ensure it is only selectable for the desired application types. This method is not used for determining if a default feature should be applied.
      Specified by:
      supports in interface Feature
      Parameters:
      applicationType - The application type
      Returns:
      True if the feature can be selected by the user
    • getCategory

      default String getCategory()
      Specified by:
      getCategory in interface Feature
      Returns:
      The Category to which the feature belongs to.