@StableMinor(version="12.3", sinceVersion="6.2") public interface IWebsiteMainBaseURL extends IWebsiteBaseURL
A main base URL of a website is the one used to generate the absolute URLs for a website when necessary.
IWebsite
,
IWebsiteBaseURL
Modifier and Type | Method and 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.
|
getDomain, getPath, getPort, getWebsite, matches, toString
URL toURL()
URI toURI(boolean secure)
IWebsiteBaseURL
toURI
in interface IWebsiteBaseURL
secure
- whether the URI returned is to use a secure schema or not.IllegalArgumentException
- if secure
parameter value is
incompatible with this base URL.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.