public interface Operation
Modifier and Type | Method and Description |
---|---|
Operation |
failureHandler(io.vertx.core.Handler<RoutingContext> handler)
Mount a failure handler for this operation
|
io.vertx.core.http.HttpMethod |
getHttpMethod() |
String |
getOpenAPIPath() |
String |
getOperationId() |
io.vertx.core.json.JsonObject |
getOperationModel() |
Operation |
handler(io.vertx.core.Handler<RoutingContext> handler)
Mount an handler for this operation
|
Operation |
routeToEventBus(String address)
Route an incoming request to this operation to a Web API Service
|
Operation |
routeToEventBus(String address,
io.vertx.core.eventbus.DeliveryOptions options)
Route an incoming request to this operation to a Web API Service
|
Operation handler(io.vertx.core.Handler<RoutingContext> handler)
handler
- Operation failureHandler(io.vertx.core.Handler<RoutingContext> handler)
handler
- Operation routeToEventBus(String address)
address
- Operation routeToEventBus(String address, io.vertx.core.eventbus.DeliveryOptions options)
address
- options
- String getOperationId()
io.vertx.core.json.JsonObject getOperationModel()
io.vertx.core.http.HttpMethod getHttpMethod()
String getOpenAPIPath()
Copyright © 2021 Eclipse. All rights reserved.