Package | Description |
---|---|
io.vertx.ext.web.openapi | |
io.vertx.reactivex.ext.web.openapi |
Modifier and Type | Method and Description |
---|---|
RouterBuilder |
RouterBuilder.bodyHandler(BodyHandler bodyHandler)
Supply your own BodyHandler if you would like to control body limit, uploads directory and deletion of uploaded
files.
|
RouterBuilder |
RouterBuilder.mountServiceInterface(Class interfaceClass,
String address)
Introspect the Web Api Service interface to route to service all matching method names with operation ids.
|
RouterBuilder |
RouterBuilder.mountServicesFromExtensions()
Introspect the OpenAPI spec to mount handlers for all operations that specifies a x-vertx-event-bus annotation.
|
RouterBuilder |
RouterBuilder.rootHandler(Handler<RoutingContext> rootHandler)
Add global handler to be applied prior to
Router being generated. |
RouterBuilder |
RouterBuilder.securityHandler(String securitySchemaName,
AuthenticationHandler handler)
Mount to paths that have to follow a security schema a security handler
|
RouterBuilder |
RouterBuilder.serviceExtraPayloadMapper(java.util.function.Function<RoutingContext,JsonObject> serviceExtraPayloadMapper)
When set, this function is called while creating the payload of
ServiceRequest |
RouterBuilder |
RouterBuilder.setOptions(RouterBuilderOptions options)
Set options of router builder.
|
Modifier and Type | Method and Description |
---|---|
static Future<RouterBuilder> |
RouterBuilder.create(Vertx vertx,
String url)
Create a new
RouterBuilder |
static Future<RouterBuilder> |
RouterBuilder.create(Vertx vertx,
String url,
OpenAPILoaderOptions options)
Create a new
RouterBuilder |
Modifier and Type | Method and Description |
---|---|
static void |
RouterBuilder.create(Vertx vertx,
String url,
Handler<AsyncResult<RouterBuilder>> handler)
Like
this#create(Vertx, String) |
static void |
RouterBuilder.create(Vertx vertx,
String url,
OpenAPILoaderOptions options,
Handler<AsyncResult<RouterBuilder>> handler)
Like
this#create(Vertx, String, OpenAPILoaderOptions) |
Modifier and Type | Method and Description |
---|---|
RouterBuilder |
RouterBuilder.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static RouterBuilder |
RouterBuilder.newInstance(RouterBuilder arg) |
Constructor and Description |
---|
RouterBuilder(RouterBuilder delegate) |
Copyright © 2021 Eclipse. All rights reserved.