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

org.zalando.riptide.Dispatcher Maven / Gradle / Ivy

package org.zalando.riptide;

import java.util.List;

import static java.util.Arrays.asList;

public abstract class Dispatcher {

    @SafeVarargs
    public final  Completion dispatch(final Navigator selector, final Binding... bindings) {
        return dispatch(selector, asList(bindings));
    }

    public final  Completion dispatch(final Navigator selector, final List> bindings) {
        return dispatch(RoutingTree.dispatch(selector, bindings));
    }

    public abstract  Completion dispatch(final RoutingTree tree);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy