org.http4k.config.Port.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http4k-config Show documentation
Show all versions of http4k-config Show documentation
Machinery for configuring Http4k apps in a typesafe way
The newest version!
package org.http4k.config
data class Port(val value: Int) {
init {
require(value <= 65535) { "Out of range Port: '$value'" }
}
companion object {
val RANDOM = Port(0)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy