Package-level declarations

Types

Link copied to clipboard
class SslConfig

Data class to hold the configuration for the plugin.

Link copied to clipboard

Exception thrown when the SslConfig is invalid.

Link copied to clipboard
class SslPlugin(userConfig: Consumer<SslConfig>) : Plugin<SslConfig>

Plugin to add SSL support to Javalin. The configuration is done via the Consumer passed to the constructor. The plugin will add the connectors to the server and apply the necessary handlers.

Link copied to clipboard
class TlsConfig(val cipherSuites: Array<String>, val protocols: Array<String>)

Data class for the SSL configuration.

Link copied to clipboard

Configuration for the trust store, used to verify the identity of the clients. Using this configuration, the server will only accept connections from clients that are trusted. If no trust store is configured, the server will accept any client.