Class IDEServicesResourceHandler

  • All Implemented Interfaces:
    io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>

    public class IDEServicesResourceHandler
    extends HdesResourceHandler
    • Constructor Detail

      • IDEServicesResourceHandler

        public IDEServicesResourceHandler​(io.quarkus.security.identity.CurrentIdentityAssociation currentIdentityAssociation,
                                          io.quarkus.vertx.http.runtime.CurrentVertxRequest currentVertxRequest)
    • Method Detail

      • handleResource

        protected void handleResource​(io.vertx.ext.web.RoutingContext event,
                                      io.vertx.core.http.HttpServerResponse response,
                                      IDEServicesContext ctx,
                                      com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Specified by:
        handleResource in class HdesResourceHandler
      • getPath

        public String getPath​(io.vertx.ext.web.RoutingContext event)
      • read

        public <T> T read​(io.vertx.ext.web.RoutingContext event,
                          com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                          Class<T> type)
      • readList

        public <T> List<T> readList​(io.vertx.ext.web.RoutingContext event,
                                    com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                                    Class<T> type)
      • subscribe

        public <T> void subscribe​(io.smallrye.mutiny.Uni<T> uni,
                                  io.vertx.core.http.HttpServerResponse response,
                                  IDEServicesContext ctx,
                                  com.fasterxml.jackson.databind.ObjectMapper objectMapper)