code: public String route(String controllerClass, String method, String var1, Object value1) {
          ImmutableMap<String, Object> params = ImmutableMap.of(var1, value1);
          String route = router.getReverseRouteFor(controllerClass, method, params);
          if (route == null) {
              throw new TemplateProcessingException(ERR_FIND_ROUTE + controller.getClass().getName() +
                      "#" + method + WITH_PARAM + params);
          }
          return route;
      }
docs: Retrieves the reverse route (url) of the specified action.
  
  @param controllerClass the controller
  @param method          the method
  @param var1            the first parameter name
  @param value1          the first parameter value
  @return the url
  @throws org.thymeleaf.exceptions.TemplateProcessingException if the route cannot be found