HttpServerSettings

data class HttpServerSettings(    val bindAddress: InetAddress = InetAddress.getLoopbackAddress(),     val bindPort: Int = 2010,     val contextPath: String = "",     val protocol: HttpProtocol = HTTP,     val sslSettings: SslSettings? = null,     val banner: String? = null,     val features: Set<HttpServerFeature> = emptySet())

Holds server settings info.

Constructors

Link copied to clipboard
fun HttpServerSettings(    bindAddress: InetAddress = InetAddress.getLoopbackAddress(),     bindPort: Int = 2010,     contextPath: String = "",     protocol: HttpProtocol = HTTP,     sslSettings: SslSettings? = null,     banner: String? = null,     features: Set<HttpServerFeature> = emptySet())

Properties

Link copied to clipboard
val banner: String? = null

Server banner message.

Link copied to clipboard
val bindAddress: InetAddress

Address for the server.

Link copied to clipboard
val bindPort: Int = 2010

Port for the server.

Link copied to clipboard
val contextPath: String

Context Path for the server's incoming requests.

Link copied to clipboard
val features: Set<HttpServerFeature>

List of features enabled for a server.

Link copied to clipboard
val protocol: HttpProtocol

Server's protocol.

Link copied to clipboard
val sslSettings: SslSettings? = null

SSL settings info for configuring the server.