Class Operation


  • public class Operation
    extends Object
    Interface representing an Operation

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Constructor Detail

      • Operation

        public Operation​(io.vertx.ext.web.openapi.Operation delegate)
      • Operation

        public Operation​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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)