Package io.quarkus.devconsole.spi
Class DevConsoleRouteBuildItem
- java.lang.Object
-
- io.quarkus.builder.item.BuildItem
-
- io.quarkus.builder.item.MultiBuildItem
-
- io.quarkus.devconsole.spi.DevConsoleRouteBuildItem
-
@Deprecated public final class DevConsoleRouteBuildItem extends io.quarkus.builder.item.MultiBuildItem
Deprecated.as part of the removal of the old Dev UIA route for handling requests in the dev console.Routes are registered under /q/dev-v1/{groupId}.{artifactId}/
The route is registered:
- in the "regular" app router (runtime class loader), if the handler is produced by a recorder (i.e. implements
BytecodeRecorderImpl.ReturnedProxy), - in the Dev UI router (deployment class loader).
- in the "regular" app router (runtime class loader), if the handler is produced by a recorder (i.e. implements
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDevConsoleRouteBuildItem.BuilderDeprecated.
-
Constructor Summary
Constructors Constructor Description DevConsoleRouteBuildItem(String path, String method, io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler)Deprecated.DevConsoleRouteBuildItem(String path, String method, io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler, boolean isBodyHandlerRequired)Deprecated.DevConsoleRouteBuildItem(String groupId, String artifactId, String path, String method, io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DevConsoleRouteBuildItem.Builderbuilder()Deprecated.io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>getHandler()Deprecated.StringgetMethod()Deprecated.StringgetPath()Deprecated.Map.Entry<String,String>groupIdAndArtifactId(CurateOutcomeBuildItem curateOutcomeBuildItem)Deprecated.Gets the group id and artifact ID.booleanisBlockingHandler()Deprecated.booleanisBodyHandlerRequired()Deprecated.booleanisDeploymentSide()Deprecated.
-
-
-
Constructor Detail
-
DevConsoleRouteBuildItem
public DevConsoleRouteBuildItem(String groupId, String artifactId, String path, String method, io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler)
Deprecated.
-
DevConsoleRouteBuildItem
public DevConsoleRouteBuildItem(String path, String method, io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler)
Deprecated.
-
-
Method Detail
-
builder
public static DevConsoleRouteBuildItem.Builder builder()
Deprecated.
-
groupIdAndArtifactId
public Map.Entry<String,String> groupIdAndArtifactId(CurateOutcomeBuildItem curateOutcomeBuildItem)
Deprecated.Gets the group id and artifact ID. This needs the curate result to map the calling class to the artifact that contains it in some situations (namely in dev mode tests).
-
getPath
public String getPath()
Deprecated.
-
getMethod
public String getMethod()
Deprecated.
-
getHandler
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> getHandler()
Deprecated.
-
isDeploymentSide
public boolean isDeploymentSide()
Deprecated.
-
isBodyHandlerRequired
public boolean isBodyHandlerRequired()
Deprecated.
-
isBlockingHandler
public boolean isBlockingHandler()
Deprecated.
-
-