code: public String route(String method) {
          String route = router.getReverseRouteFor(controller, method);
          if (route == null) {
              throw new TemplateProcessingException(ERR_FIND_ROUTE + controller.getClass().getName() +
                      "#" + method);
          }
          return route;
      }
docs: Retrieves the reverse route (url) of the specified action (using the current controller).
  
  @param method the method
  @return the url
  @throws org.thymeleaf.exceptions.TemplateProcessingException if the route cannot be found