Class OpenAPIRoute
java.lang.Object
io.vertx.mutiny.ext.web.openapi.router.OpenAPIRoute
- All Implemented Interfaces:
- MutinyDelegate
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionOpenAPIRoute(io.vertx.ext.web.openapi.router.OpenAPIRoute delegate) OpenAPIRoute(Object delegate) 
- 
Method SummaryModifier 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- 
OpenAPIRoutepublic OpenAPIRoute(io.vertx.ext.web.openapi.router.OpenAPIRoute delegate) 
- 
OpenAPIRoute
 
- 
- 
Method Details- 
getDelegatepublic io.vertx.ext.web.openapi.router.OpenAPIRoute getDelegate()- Specified by:
- getDelegatein interface- MutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
 
- 
toString
- 
equals
- 
hashCodepublic 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
 
- 
doValidationpublic 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
 
-