- 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 Summary
Modifier and TypeMethodDescriptiondefault void
configure(WebApplication webApplication)
Configure the web application.default void
extend(WebApplicationExtensionContext context)
Extend the web application.
-
Method Details
-
configure
Configure the web application.- Parameters:
webApplication
- the web application to configure.
-
extend
Extend the web application.- Parameters:
context
- the context.
-