Class Operation
- java.lang.Object
-
- io.vertx.reactivex.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(io.vertx.core.Handler<RoutingContext> handler)Mount a failure handler for this operationio.vertx.ext.web.openapi.OperationgetDelegate()io.vertx.core.http.HttpMethodgetHttpMethod()StringgetOpenAPIPath()StringgetOperationId()io.vertx.core.json.JsonObjectgetOperationModel()Operationhandler(io.vertx.core.Handler<RoutingContext> handler)Mount an handler for this operationinthashCode()static OperationnewInstance(io.vertx.ext.web.openapi.Operation arg)OperationrouteToEventBus(String address)Route an incoming request to this operation to a Web API ServiceOperationrouteToEventBus(String address, io.vertx.core.eventbus.DeliveryOptions options)Route an incoming request to this operation to a Web API ServiceStringtoString()
-
-
-
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(io.vertx.core.Handler<RoutingContext> handler)
Mount an handler for this operation- Parameters:
handler-- Returns:
-
failureHandler
public Operation failureHandler(io.vertx.core.Handler<RoutingContext> handler)
Mount a failure handler for this operation- Parameters:
handler-- Returns:
-
routeToEventBus
public Operation routeToEventBus(String address)
Route an incoming request to this operation to a Web API Service- Parameters:
address-- Returns:
-
routeToEventBus
public Operation routeToEventBus(String address, io.vertx.core.eventbus.DeliveryOptions options)
Route an incoming request to this operation to a Web API Service- 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)
-
-