Package io.javalin.plugin.bundled
Class SslRedirectPlugin
-
- All Implemented Interfaces:
public final class SslRedirectPlugin extends Plugin<SslRedirectPlugin.Config>
SslRedirectPlugin has to be the first registered plugin to properly handle all requests in 'before' handler.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
SslRedirectPlugin.Config
-
Constructor Summary
Constructors Constructor Description SslRedirectPlugin(Consumer<SslRedirectPlugin.Config> userConfig)
-
Method Summary
Modifier and Type Method Description Unit
onStart(JavalinConfig config)
Called when the plugin is applied to the Javalin instance. -
-
Constructor Detail
-
SslRedirectPlugin
SslRedirectPlugin(Consumer<SslRedirectPlugin.Config> userConfig)
-
-
Method Detail
-
onStart
Unit onStart(JavalinConfig config)
Called when the plugin is applied to the Javalin instance.
-
-
-
-