Interface WebApplicationExtension

All Known Implementing Classes:
AnnotationScanExtension, JakartaSecurityExtension, JasperExtension, ServletContainerInitializerExtension, ServletExtension, TempDirExtension, WebAnnotationExtension, WebXmlExtension

public interface WebApplicationExtension
The web application extension API.

A web application extension can be used to automatically configure the web application according to what the extension delivers, or you can use it as a way to compose extensions together in one extension.

Manfred Riem ([email protected])
  • Method Details

    • configure

      default void configure​(WebApplication webApplication)
      Configure the web application.
      webApplication - the web application to configure.
    • extend

      default void extend​(WebApplicationExtensionContext context)
      Extend the web application.
      context - the context.