ConnectorFactory

class ConnectorFactory(config: SslConfig, sslContextFactory: SslContextFactory.Server?)

Helper class to create the requested ServerConnectors from the given config.

Constructors

Link copied to clipboard
constructor(config: SslConfig, sslContextFactory: SslContextFactory.Server?)

Functions

Link copied to clipboard
fun createInsecureConnector(server: Server?, httpConfiguration: HttpConfiguration): ServerConnector

Create and return an insecure connector to the server.

Link copied to clipboard
fun createSecureConnector(server: Server?, httpConfiguration: HttpConfiguration): ServerConnector

Create and apply an SSL connector to the server.