on

fun on(predicate: HttpServerPredicate = HttpServerPredicate(), callback: HttpCallback)
fun on(methods: Set<HttpMethod> = emptySet(), pattern: String = "", exception: KClass<out Exception>? = null, status: HttpStatus? = null, callback: HttpCallback)
fun on(method: HttpMethod, pattern: String = "", callback: HttpCallback)
fun on(pattern: String, callback: HttpCallback)