Package | Description |
---|---|
io.vertx.ext.web.api.contract | |
io.vertx.ext.web.api.contract.openapi3 | |
io.vertx.reactivex.ext.web.api.contract | |
io.vertx.rxjava.ext.web.api.contract |
Modifier and Type | Method and Description |
---|---|
RouterFactory |
RouterFactory.addGlobalHandler(Handler<RoutingContext> globalHandler)
Add global handler to be applied prior to
Router being generated. |
RouterFactory |
RouterFactory.addSecurityHandler(String securitySchemaName,
Handler<RoutingContext> handler)
Mount to paths that have to follow a security schema a security handler
|
RouterFactory |
RouterFactory.setBodyHandler(BodyHandler bodyHandler)
Supply your own BodyHandler if you would like to control body limit, uploads directory and deletion of uploaded files
|
RouterFactory |
RouterFactory.setExtraOperationContextPayloadMapper(java.util.function.Function<RoutingContext,JsonObject> extraOperationContextPayloadMapper)
When set, this function is called while creating the payload of
OperationRequest |
RouterFactory |
RouterFactory.setNotImplementedFailureHandler(Handler<RoutingContext> notImplementedFailureHandler)
Deprecated.
You must use
Router.errorHandler(int, Handler) with 501 error |
RouterFactory |
RouterFactory.setOptions(RouterFactoryOptions options)
Set options of router factory.
|
RouterFactory |
RouterFactory.setValidationFailureHandler(Handler<RoutingContext> validationFailureHandler)
Deprecated.
Router Factory won't manage the validation errors anymore. You must use
Router.errorHandler(int, Handler) with 400 error |
Modifier and Type | Interface and Description |
---|---|
interface |
OpenAPI3RouterFactory
Interface for OpenAPI3RouterFactory.
|
Modifier and Type | Method and Description |
---|---|
RouterFactory |
RouterFactory.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <Specification> |
RouterFactory.newInstance(RouterFactory arg) |
static <Specification> |
RouterFactory.newInstance(RouterFactory arg,
io.vertx.lang.rx.TypeArg<Specification> __typeArg_Specification) |
Modifier and Type | Method and Description |
---|---|
RouterFactory |
RouterFactory.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <Specification> |
RouterFactory.newInstance(RouterFactory arg) |
static <Specification> |
RouterFactory.newInstance(RouterFactory arg,
io.vertx.lang.rx.TypeArg<Specification> __typeArg_Specification) |
Copyright © 2023 Eclipse. All rights reserved.