Class OpenAPIRoute
java.lang.Object
io.vertx.mutiny.ext.web.openapi.router.OpenAPIRoute
- All Implemented Interfaces:
MutinyDelegate
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOpenAPIRoute(io.vertx.ext.web.openapi.router.OpenAPIRoute delegate) OpenAPIRoute(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionaddFailureHandler(Consumer<RoutingContext> handler) addHandler(Consumer<RoutingContext> handler) booleanbooleanio.vertx.ext.web.openapi.router.OpenAPIRouteinthashCode()static OpenAPIRoutenewInstance(io.vertx.ext.web.openapi.router.OpenAPIRoute arg) setDoValidation(boolean doValidation) toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
OpenAPIRoute
public OpenAPIRoute(io.vertx.ext.web.openapi.router.OpenAPIRoute delegate) -
OpenAPIRoute
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.openapi.router.OpenAPIRoute getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
addHandler
- Parameters:
handler- The handler to add- Returns:
-
addFailureHandler
- Parameters:
handler- The failure handler to add- Returns:
-
getOperation
- Returns:
- the related operation of this route
-
doValidation
public boolean doValidation()- Returns:
- true if validation based on the OpenAPI contract is active for this route. By default, it is active.
-
setDoValidation
- Parameters:
doValidation- The validation flag.- Returns:
- the route
-
newInstance
-