vertx / io.vertx.ext.web.api.contract / DesignDrivenRouterFactory / addHandler

addHandler

abstract fun addHandler(method: HttpMethod, path: String, handler: Handler<RoutingContext>): DesignDrivenRouterFactory<Any>

Add an handler to a path with a method. If combination path/method is not available in specification, it will throw a RouterFactoryException

Parameters

method -

path -

handler -

Return