Package io.vertx.mutiny.ext.web.openapi
Class Operation
- java.lang.Object
-
- io.vertx.mutiny.ext.web.openapi.Operation
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<Operation>
__TYPE_ARG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Operation
failureHandler(Consumer<RoutingContext> handler)
io.vertx.ext.web.openapi.Operation
getDelegate()
io.vertx.core.http.HttpMethod
getHttpMethod()
String
getOpenAPIPath()
String
getOperationId()
io.vertx.core.json.JsonObject
getOperationModel()
Operation
handler(Consumer<RoutingContext> handler)
int
hashCode()
static Operation
newInstance(io.vertx.ext.web.openapi.Operation arg)
Operation
routeToEventBus(String address)
Operation
routeToEventBus(String address, io.vertx.core.eventbus.DeliveryOptions options)
String
toString()
-
-
-
Constructor Detail
-
Operation
public Operation(io.vertx.ext.web.openapi.Operation delegate)
-
Operation
public Operation(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.openapi.Operation getDelegate()
-
handler
public Operation handler(Consumer<RoutingContext> handler)
- Parameters:
handler
-- Returns:
-
failureHandler
public Operation failureHandler(Consumer<RoutingContext> handler)
- Parameters:
handler
-- Returns:
-
routeToEventBus
public Operation routeToEventBus(String address, io.vertx.core.eventbus.DeliveryOptions options)
- Parameters:
address
-options
-- Returns:
-
getOperationId
public String getOperationId()
- Returns:
- operationId of this operation
-
getOperationModel
public io.vertx.core.json.JsonObject getOperationModel()
- Returns:
- model of this operation
-
getHttpMethod
public io.vertx.core.http.HttpMethod getHttpMethod()
- Returns:
- http method of this operation
-
getOpenAPIPath
public String getOpenAPIPath()
- Returns:
- path in OpenAPI style
-
newInstance
public static Operation newInstance(io.vertx.ext.web.openapi.Operation arg)
-
-