-
- All Implemented Interfaces:
public final class GlobalHeadersPlugin extends Plugin<GlobalHeadersConfig>
A plugin to configure arbitrary headers, with a focus on the OWASP secure headers project https://owasp.org/www-project-secure-headers/
-
-
Constructor Summary
Constructors Constructor Description GlobalHeadersPlugin(Consumer<GlobalHeadersConfig> userConfig)
-
Method Summary
Modifier and Type Method Description Unit
onStart(JavalinConfig config)
Called when the plugin is applied to the Javalin instance. -
-
Constructor Detail
-
GlobalHeadersPlugin
GlobalHeadersPlugin(Consumer<GlobalHeadersConfig> userConfig)
-
-
Method Detail
-
onStart
Unit onStart(JavalinConfig config)
Called when the plugin is applied to the Javalin instance.
-
-
-
-