public class OpenAPIRoute extends Object
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<OpenAPIRoute> |
__TYPE_ARG |
Constructor and Description |
---|
OpenAPIRoute(Object delegate) |
OpenAPIRoute(OpenAPIRoute delegate) |
Modifier and Type | Method and Description |
---|---|
OpenAPIRoute |
addFailureHandler(Handler<RoutingContext> handler)
Adds a failure handler for this route
|
OpenAPIRoute |
addHandler(Handler<RoutingContext> handler)
Adds a handler for this route which is executed after the security and validation handlers defined in the contract
|
boolean |
doValidation() |
boolean |
equals(Object o) |
OpenAPIRoute |
getDelegate() |
Operation |
getOperation() |
int |
hashCode() |
static OpenAPIRoute |
newInstance(OpenAPIRoute arg) |
OpenAPIRoute |
setDoValidation(boolean doValidation)
Sets the validation flag for incoming requests.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<OpenAPIRoute> __TYPE_ARG
public OpenAPIRoute(OpenAPIRoute delegate)
public OpenAPIRoute(Object delegate)
public OpenAPIRoute getDelegate()
public OpenAPIRoute addHandler(Handler<RoutingContext> handler)
handler
- The handler to addpublic OpenAPIRoute addFailureHandler(Handler<RoutingContext> handler)
handler
- The failure handler to addpublic Operation getOperation()
public boolean doValidation()
public OpenAPIRoute setDoValidation(boolean doValidation)
doValidation
- The validation flag.public static OpenAPIRoute newInstance(OpenAPIRoute arg)
Copyright © 2024 Eclipse. All rights reserved.