Package lumis.portal.website
Interface IWebsiteMainBaseURL
-
- All Superinterfaces:
IWebsiteBaseURL
@StableMinor(version="17.0", 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$ $Date$
- See Also:
IWebsite
,IWebsiteBaseURL
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.net.URI
toURI(boolean secure)
Returns this base URL as a URI object.java.net.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
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 interfaceIWebsiteBaseURL
- Parameters:
secure
- whether the URI returned is to use a secure schema or not.- Returns:
- the URI.
- Throws:
java.lang.IllegalArgumentException
- ifsecure
parameter value is incompatible with this base URL.- Since:
- 8.0.0
-
-