Class Operation
- java.lang.Object
-
- io.vertx.reactivex.ext.web.openapi.Operation
-
public class Operation extends Object
-
-
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(Handler<RoutingContext> handler)
Mount a failure handler for this operationOperation
getDelegate()
HttpMethod
getHttpMethod()
String
getOpenAPIPath()
String
getOperationId()
JsonObject
getOperationModel()
Operation
handler(Handler<RoutingContext> handler)
Mount an handler for this operationint
hashCode()
static Operation
newInstance(Operation arg)
Operation
routeToEventBus(String address)
Route an incoming request to this operation to a Web API ServiceOperation
routeToEventBus(String address, DeliveryOptions options)
Route an incoming request to this operation to a Web API ServiceString
toString()
-
-
-
Method Detail
-
getDelegate
public Operation getDelegate()
-
handler
public Operation handler(Handler<RoutingContext> handler)
Mount an handler for this operation- Parameters:
handler
-- Returns:
-
failureHandler
public Operation failureHandler(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, 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 JsonObject getOperationModel()
- Returns:
- model of this operation
-
getHttpMethod
public HttpMethod getHttpMethod()
- Returns:
- http method of this operation
-
getOpenAPIPath
public String getOpenAPIPath()
- Returns:
- path in OpenAPI style
-
-