Package io.quarkus.vertx.http.deployment
Class NonApplicationRootPathBuildItem.Builder
java.lang.Object
io.quarkus.vertx.http.deployment.RouteBuildItem.Builder
io.quarkus.vertx.http.deployment.NonApplicationRootPathBuildItem.Builder
- Enclosing class:
- NonApplicationRootPathBuildItem
Per non-application endpoint instance.
-
Field Summary
Fields inherited from class io.quarkus.vertx.http.deployment.RouteBuildItem.Builder
absolutePath, displayOnNotFoundPage, handler, isManagement, notFoundPagePath, notFoundPageTitle, routeConfigKey, routeFunction, routePath, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()displayOnNotFoundPage(String notFoundPageTitle) protected NotFoundPageDisplayableEndpointBuildItemprotected ConfiguredPathInfohandler(io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler) handlerType(HandlerType handlerType) management(String managementConfigKey) nestedRoute(String baseRoute, String subRoute) orderedRoute(String route, Integer order) orderedRoute(String route, Integer order, Consumer<io.vertx.ext.web.Route> routeFunction) routeConfigKey(String attributeName) routeFunction(String route, Consumer<io.vertx.ext.web.Route> routeFunction) routeFunction(Function<io.vertx.ext.web.Router, io.vertx.ext.web.Route> routeFunction) RouteBuildItem.Builder.routeFunction(String, Consumer)should be used instead
-
Constructor Details
-
Builder
Builder(NonApplicationRootPathBuildItem buildItem)
-
-
Method Details
-
routeFunction
public NonApplicationRootPathBuildItem.Builder routeFunction(Function<io.vertx.ext.web.Router, io.vertx.ext.web.Route> routeFunction) Description copied from class:RouteBuildItem.BuilderRouteBuildItem.Builder.routeFunction(String, Consumer)should be used instead- Overrides:
routeFunctionin classRouteBuildItem.Builder- See Also:
-
routeFunction
public NonApplicationRootPathBuildItem.Builder routeFunction(String route, Consumer<io.vertx.ext.web.Route> routeFunction) - Overrides:
routeFunctionin classRouteBuildItem.Builder- Parameters:
route- A normalized path (e.g. use HttpRootPathBuildItem to construct/resolve the path value) defining the route. This path this is also used on the "Not Found" page in dev mode.routeFunction- a Consumer of Route
-
route
- Overrides:
routein classRouteBuildItem.Builder- Parameters:
route- A normalized path used to define a basic route (e.g. use HttpRootPathBuildItem to construct/resolve the path value). This path this is also used on the "Not Found" page in dev mode.
-
orderedRoute
- Overrides:
orderedRoutein classRouteBuildItem.Builder- Parameters:
route- A normalized path used to define a basic route (e.g. use HttpRootPathBuildItem to construct/resolve the path value). This path this is also used on the "Not Found" page in dev mode.order- Priority ordering of the route
-
orderedRoute
public NonApplicationRootPathBuildItem.Builder orderedRoute(String route, Integer order, Consumer<io.vertx.ext.web.Route> routeFunction) - Overrides:
orderedRoutein classRouteBuildItem.Builder- Parameters:
route- A normalized path used to define a basic route (e.g. use HttpRootPathBuildItem to construct/resolve the path value). This path this is also used on the "Not Found" page in dev mode.order- Priority ordering of the routerouteFunction- Route customizer.
-
nestedRoute
-
handler
public NonApplicationRootPathBuildItem.Builder handler(io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler) - Overrides:
handlerin classRouteBuildItem.Builder
-
handlerType
- Overrides:
handlerTypein classRouteBuildItem.Builder
-
blockingRoute
- Overrides:
blockingRoutein classRouteBuildItem.Builder
-
failureRoute
- Overrides:
failureRoutein classRouteBuildItem.Builder
-
displayOnNotFoundPage
- Overrides:
displayOnNotFoundPagein classRouteBuildItem.Builder
-
displayOnNotFoundPage
- Overrides:
displayOnNotFoundPagein classRouteBuildItem.Builder
-
routeConfigKey
- Overrides:
routeConfigKeyin classRouteBuildItem.Builder
-
build
- Overrides:
buildin classRouteBuildItem.Builder
-
getRouteConfigInfo
- Overrides:
getRouteConfigInfoin classRouteBuildItem.Builder
-
getNotFoundEndpoint
- Overrides:
getNotFoundEndpointin classRouteBuildItem.Builder
-
management
- Overrides:
managementin classRouteBuildItem.Builder
-
management
- Overrides:
managementin classRouteBuildItem.Builder
-