Interface WebApplicationExtension

All Known Implementing Classes:
AnnotationScanExtension, JakartaSecurityExtension, ServletContainerInitializerExtension, ServletExtension, TempDirExtension, WaspExtension, 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.

Author:
Manfred Riem ([email protected])
  • Method Details

    • configure

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

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