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

io.vertx.up.uca.rs.dispatch.StandardVerifier Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
package io.vertx.up.uca.rs.dispatch;

import io.vertx.core.Handler;
import io.vertx.ext.web.RoutingContext;
import io.vertx.up.atom.Rule;
import io.vertx.up.atom.agent.Depot;
import io.vertx.up.uca.rs.Sentry;
import io.vertx.up.uca.rs.hunt.BaseAim;

import java.util.List;
import java.util.Map;

/**
 * Major execution to verify the result.
 */
public class StandardVerifier extends BaseAim implements Sentry {

    @Override
    public Handler signal(final Depot depot) {
        // continue to verify JsonObject/JsonArray type
        final Map> rulers
            = this.verifier().buildRulers(depot);
        return (context) -> this.executeRequest(context, rulers, depot);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy