Package io.javalin.core.plugin
Interface Plugin
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Plugin
A extension is a modular way of adding functionality to a Javalin instance. Lifecycle interfaces can be used to listen to specific callbacks. To apply a plugin useJavalinConfig.registerPlugin(Plugin).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapply(Javalin app)
-
-
-
Method Detail
-
apply
void apply(@NotNull Javalin app)
-
-