ServletService

constructor(port: Int, servletGroup: ServletGroup, initBlock: ServletService.() -> Unit = {})

Parameters

port

The HTTP port for the Jetty server.

servletGroup

The ServletGroup containing servlets to register.

initBlock

An optional initialization block invoked after the service listener is registered.