@Override
    public String getReverseRouteFor(String className, String method, Map<String, Object> params) {
        for (Route route : copy()) {
            if (route.getControllerClass().getName().equals(className)
                    && route.getControllerMethod().getName().equals(method)) {
                return computeUrlForRoute(route, params);
            }
        }
        return null;
    }
@ Override public String getReverseRouteFor ( String className , String method , Map < String , Object > params ) { for ( Route route : copy ( ) ) { if ( route . getControllerClass ( ) . getName ( ) . equals ( className ) && route . getControllerMethod ( ) . getName ( ) . equals ( method ) ) { return computeUrlForRoute ( route , params ) ; } } return null ; }
Gets the URL that would invoke the given action method.

@param className the controller class
@param method    the controller method
@param params    map of parameter name - value
@return the computed URL, {@literal null} if no route matches the given action method