io.github.amayaframework.router.RouterFactory Maven / Gradle / Ivy
package io.github.amayaframework.router;
import java.util.Map;
/**
* An interface describing an abstract {@link Router} factory.
*/
public interface RouterFactory {
/**
* Creates router with given path map.
*
* @param paths the specified path map
* @param the path context value type
* @return the {@link Router} instance
*/
Router create(Map paths);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy