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 booleanequals(Object o)OperationfailureHandler(Consumer<RoutingContext> handler)io.vertx.ext.web.openapi.OperationgetDelegate()io.vertx.core.http.HttpMethodgetHttpMethod()StringgetOpenAPIPath()StringgetOperationId()io.vertx.core.json.JsonObjectgetOperationModel()Operationhandler(Consumer<RoutingContext> handler)inthashCode()static OperationnewInstance(io.vertx.ext.web.openapi.Operation arg)OperationrouteToEventBus(String address)OperationrouteToEventBus(String address, io.vertx.core.eventbus.DeliveryOptions options)StringtoString()
-
-
-
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)
-
-