Package | Description |
---|---|
io.vertx.ext.web.openapi | |
io.vertx.reactivex.ext.web.openapi | |
io.vertx.rxjava3.ext.web.openapi |
Modifier and Type | Method and Description |
---|---|
RouterBuilder |
SecurityScheme.bindBlocking(java.util.function.Function<JsonObject,AuthenticationHandler> factory) |
default RouterBuilder |
RouterBuilder.bodyHandler(BodyHandler bodyHandler)
Deprecated.
Use
rootHandler(Handler) instead. The order matters, so adding the body handler should
happen after any PLATFORM or SECURITY_POLICY handler(s). |
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 securitySchemeName,
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 |
---|---|
Future<RouterBuilder> |
SecurityScheme.bind(java.util.function.Function<JsonObject,Future<AuthenticationHandler>> factory) |
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) |
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 © 2024 Eclipse. All rights reserved.