public final class RouteBuildItem
extends io.quarkus.builder.item.MultiBuildItem
| Modifier and Type | Class and Description |
|---|---|
static class |
RouteBuildItem.Builder
NonApplicationRootPathBuildItem.Builder extends this.
|
static class |
RouteBuildItem.RouteType |
| Constructor and Description |
|---|
RouteBuildItem(Function<io.vertx.ext.web.Router,io.vertx.ext.web.Route> routeFunction,
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler)
Deprecated.
Use the Builder instead.
|
RouteBuildItem(Function<io.vertx.ext.web.Router,io.vertx.ext.web.Route> routeFunction,
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler,
HandlerType type)
Deprecated.
Use the Builder instead.
|
RouteBuildItem(RouteBuildItem.Builder builder,
RouteBuildItem.RouteType routeType,
boolean requiresLegacyRedirect) |
RouteBuildItem(String route,
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler)
Deprecated.
Use the Builder instead.
|
RouteBuildItem(String route,
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler,
boolean resume)
Deprecated.
Use the Builder instead.
|
RouteBuildItem(String route,
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler,
HandlerType type)
Deprecated.
Use the Builder instead.
|
RouteBuildItem(String route,
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler,
HandlerType type,
boolean resume)
Deprecated.
Use the Builder instead.
|
| Modifier and Type | Method and Description |
|---|---|
static RouteBuildItem.Builder |
builder() |
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> |
getHandler() |
NotFoundPageDisplayableEndpointBuildItem |
getNotFoundPageDisplayableEndpoint() |
Function<io.vertx.ext.web.Router,io.vertx.ext.web.Route> |
getRouteFunction() |
HandlerType |
getType() |
boolean |
isAbsoluteRoute() |
boolean |
isApplicationRoute() |
boolean |
isFrameworkRoute() |
boolean |
isRequiresLegacyRedirect() |
@Deprecated public RouteBuildItem(Function<io.vertx.ext.web.Router,io.vertx.ext.web.Route> routeFunction, io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler, HandlerType type)
@Deprecated public RouteBuildItem(Function<io.vertx.ext.web.Router,io.vertx.ext.web.Route> routeFunction, io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler)
@Deprecated public RouteBuildItem(String route, io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler, HandlerType type, boolean resume)
@Deprecated public RouteBuildItem(String route, io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler, HandlerType type)
@Deprecated public RouteBuildItem(String route, io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler, boolean resume)
@Deprecated public RouteBuildItem(String route, io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler)
RouteBuildItem(RouteBuildItem.Builder builder, RouteBuildItem.RouteType routeType, boolean requiresLegacyRedirect)
public static RouteBuildItem.Builder builder()
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> getHandler()
public HandlerType getType()
public Function<io.vertx.ext.web.Router,io.vertx.ext.web.Route> getRouteFunction()
public boolean isFrameworkRoute()
public boolean isApplicationRoute()
public boolean isAbsoluteRoute()
public boolean isRequiresLegacyRedirect()
public NotFoundPageDisplayableEndpointBuildItem getNotFoundPageDisplayableEndpoint()
Copyright © 2021 JBoss by Red Hat. All rights reserved.