All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.vertx.http.runtime.HandlerConsumer Maven / Gradle / Ivy

package io.quarkus.vertx.http.runtime;

import java.util.function.Consumer;

import io.vertx.core.Handler;
import io.vertx.ext.web.Route;
import io.vertx.ext.web.RoutingContext;

public class HandlerConsumer implements Consumer {
    Handler handler;

    public Handler getHandler() {
        return handler;
    }

    public void setHandler(Handler handler) {
        this.handler = handler;
    }

    @Override
    public void accept(Route route) {
        route.handler(handler);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy