Constructors

Link copied to clipboard
constructor()
constructor(port: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var http2: Http2
Link copied to clipboard
open var port: Int
Link copied to clipboard
Link copied to clipboard
open var shutdown: Shutdown
Link copied to clipboard
open var ssl: Ssl
Link copied to clipboard

Functions

Link copied to clipboard
open fun addErrorPages(errorPages: Array<ErrorPage>)
Adds error pages that will be used when handling exceptions.
Link copied to clipboard
abstract fun getWebServer(httpHandler: HttpHandler): WebServer
Gets a new fully configured but paused WebServer instance.
Link copied to clipboard
open fun setErrorPages(errorPages: Set<out ErrorPage>)
Sets the error pages that will be used when handling exceptions.