AnnotationScanExtension
, JasperExtension
, MicroExtension
, ServerExtension
, ServletContainerInitializerExtension
, WebXmlExtension
public interface WebApplicationExtension
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.
Modifier and Type | Method | Description |
---|---|---|
default void |
configure(WebApplication webApplication) |
Configure the web application.
|
default void |
extend(WebApplicationExtensionContext context) |
Extend the web application.
|
default void configure(WebApplication webApplication)
webApplication
- the web application to configure.default void extend(WebApplicationExtensionContext context)
context
- the context.Copyright © 2020 Piranha Cloud. All rights reserved.