on

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