Package lumis.portal.website
Interface IWebsiteMainBaseURL
-
- All Superinterfaces:
IWebsiteBaseURL
@StableMinor(version="14.1", sinceVersion="6.2") public interface IWebsiteMainBaseURL extends IWebsiteBaseURL
A base URL that is a main base URL of a website.A main base URL of a website is the one used to generate the absolute URLs for a website when necessary.
- Since:
- 6.2.0
- Version:
- $Revision: 24683 $ $Date: 2021-08-23 18:55:58 -0300 (Mon, 23 Aug 2021) $
- See Also:
IWebsite
,IWebsiteBaseURL
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URI
toURI(boolean secure)
Returns this base URL as a URI object.URL
toURL()
Returns a URL object that corresponds to this base URL.-
Methods inherited from interface lumis.portal.website.IWebsiteBaseURL
getDomain, getPath, getPort, getWebsite, matches, toString
-
-
-
-
Method Detail
-
toURL
URL toURL()
Returns a URL object that corresponds to this base URL.- Returns:
- the URL object.
- Since:
- 6.2.0
-
toURI
URI toURI(boolean secure)
Description copied from interface:IWebsiteBaseURL
Returns this base URL as a URI object.- Specified by:
toURI
in interfaceIWebsiteBaseURL
- Parameters:
secure
- whether the URI returned is to use a secure schema or not.- Returns:
- the URI.
- Throws:
IllegalArgumentException
- ifsecure
parameter value is incompatible with this base URL.- Since:
- 8.0.0
-
-