Class WebUtils

java.lang.Object
com.endurancetrio.app.common.utils.WebUtils

public final class WebUtils extends Object
Web-related helpers shared by controllers and view helpers.
  • Field Details

    • REDIRECT_PREFIX

      public static final String REDIRECT_PREFIX
      Prefix used when returning a Spring redirect view name.
      See Also:
  • Method Details

    • redirect

      public static String redirect(String language, String path)
      Build a redirect view name for the given language and path. The provided path must start with a '/'.