Interface IWebsiteMainBaseURL

    • Method Detail

      • toURL

        java.net.URL toURL()
        Returns a URL object that corresponds to this base URL.
        Returns:
        the URL object.
        Since:
        6.2.0
      • toURI

        java.net.URI toURI​(boolean secure)
        Description copied from interface: IWebsiteBaseURL
        Returns this base URL as a URI object.
        Specified by:
        toURI in interface IWebsiteBaseURL
        Parameters:
        secure - whether the URI returned is to use a secure schema or not.
        Returns:
        the URI.
        Throws:
        java.lang.IllegalArgumentException - if secure parameter value is incompatible with this base URL.
        Since:
        8.0.0