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

org.analogweb.RouteRegistry Maven / Gradle / Ivy

package org.analogweb;

import java.util.List;

/**
 * Registry of {@link InvocationMetadata}.
 *
 * @author y2k2mt
 */
public interface RouteRegistry extends Disposable {

    /**
     * Find matched {@link InvocationMetadata}.
     *
     * @param requestContext
     *            {@link RequestContext}
     *
     * @return {@link InvocationMetadata}
     */
    InvocationMetadata findInvocationMetadata(RequestContext requestContext, List finders);

    /**
     * Register {@link InvocationMetadata}.
     *
     * @param invocationMetadata
     *            {@link InvocationMetadata}
     */
    void register(InvocationMetadata invocationMetadata);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy