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

io.quarkus.reactivemessaging.http.runtime.ReactiveHttpHandler Maven / Gradle / Ivy

Go to download

Connect to HTTP or WebSocket and expose HTTP or WebSocket endpoints for Reactive Messaging

There is a newer version: 2.4.1
Show newest version
package io.quarkus.reactivemessaging.http.runtime;

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

class ReactiveHttpHandler implements Handler {
    private final ReactiveHttpHandlerBean handler;

    ReactiveHttpHandler(ReactiveHttpHandlerBean handler) {
        this.handler = handler;
    }

    @Override
    public void handle(RoutingContext event) {
        try {
            handler.handle(event);
        } catch (RuntimeException any) {
            event.fail(any);
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy