Class BaseUrlAccessor


  • public class BaseUrlAccessor
    extends Object
    This class provides access to the PF base URL.
    Since:
    9.2
    • Method Detail

      • getCurrentBaseUrl

        public static String getCurrentBaseUrl()
        Returns the PF base URL with domain name from the HttpServletRequest that is whitelisted from the virtual host names. If the requested domain name is not in the list of virtual host names, the PF base URL is returned.
        Returns:
        the base URL with the whitelisted virtual host name.