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

play.modules.swagger.RouteWrapper Maven / Gradle / Ivy

package play.modules.swagger;

import play.routes.compiler.Route;

import java.util.Map;


public class RouteWrapper {

    private Map router;

    public RouteWrapper(Map router) {
        this.router = router;
    }

    public Route get(String routeName) {
        return router.get(routeName);
    }

    public boolean exists(String routeName) {
        return router.containsKey(routeName);
    }

    public Map getAll() {
        return router;
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy