Class HdesResourceHandler
- java.lang.Object
-
- io.thestencil.quarkus.ide.services.handlers.HdesResourceHandler
-
- All Implemented Interfaces:
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
- Direct Known Subclasses:
IDEServicesResourceHandler
public abstract class HdesResourceHandler extends Object implements io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
-
-
Constructor Summary
Constructors Constructor Description HdesResourceHandler(io.quarkus.security.identity.CurrentIdentityAssociation currentIdentityAssociation, io.quarkus.vertx.http.runtime.CurrentVertxRequest currentVertxRequest)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static voidcatch404(String id, IDEServicesContext ctx, io.vertx.core.http.HttpServerResponse response)static voidcatch422(Throwable e, IDEServicesContext ctx, io.vertx.core.http.HttpServerResponse response)static StringexceptionHash(String msg)voidhandle(io.vertx.ext.web.RoutingContext event)protected abstract voidhandleResource(io.vertx.ext.web.RoutingContext event, io.vertx.core.http.HttpServerResponse response, IDEServicesContext ctx, com.fasterxml.jackson.databind.ObjectMapper objectMapper)protected voidhandleSecurity(io.vertx.ext.web.RoutingContext event)
-
-
-
Method Detail
-
handleResource
protected abstract void handleResource(io.vertx.ext.web.RoutingContext event, io.vertx.core.http.HttpServerResponse response, IDEServicesContext ctx, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
handleSecurity
protected void handleSecurity(io.vertx.ext.web.RoutingContext event)
-
handle
public void handle(io.vertx.ext.web.RoutingContext event)
- Specified by:
handlein interfaceio.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
-
catch404
public static void catch404(String id, IDEServicesContext ctx, io.vertx.core.http.HttpServerResponse response)
-
catch422
public static void catch422(Throwable e, IDEServicesContext ctx, io.vertx.core.http.HttpServerResponse response)
-
-