Class BrowsingLocationImpl
java.lang.Object
dev.webfx.platform.windowlocation.spi.impl.PathLocationImpl
dev.webfx.platform.windowlocation.spi.impl.BrowsingLocationImpl
- All Implemented Interfaces:
 BrowsingLocation,HostLocation,PathLocation
- Author:
 - Bruno Salmon
 
- 
Constructor Summary
ConstructorsConstructorDescriptionBrowsingLocationImpl(String protocol, String hostname, String port, PathLocation pathLocation) BrowsingLocationImpl(String protocol, String hostname, String port, String pathname, String queryString, String fragment)  - 
Method Summary
Modifier and TypeMethodDescriptionstatic BrowsingLocationImplstatic BrowsingLocationImplEx: developer.mozilla.org in https://developer.mozilla.org:443/en-US/search?getPort()Ex: 443 in https://developer.mozilla.org:443/en-US/search?Ex: https in https://developer.mozilla.org/en-US/search?Methods inherited from class dev.webfx.platform.windowlocation.spi.impl.PathLocationImpl
equals, getFragment, getPathname, getQueryString, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.webfx.platform.windowlocation.spi.BrowsingLocation
assignHref, getHost, getHref, getOrigin, replaceHrefMethods inherited from interface dev.webfx.platform.windowlocation.spi.PathLocation
getFragment, getHash, getPath, getPathname, getQueryString, getSearch 
- 
Constructor Details
- 
BrowsingLocationImpl
public BrowsingLocationImpl(String protocol, String hostname, String port, PathLocation pathLocation)  - 
BrowsingLocationImpl
 
 - 
 - 
Method Details
- 
getProtocol
Description copied from interface:HostLocationEx: https in https://developer.mozilla.org/en-US/search?q=URL#search-results-close-container- Specified by:
 getProtocolin interfaceHostLocation- Returns:
 - A String containing the protocol scheme of the URL.
 
 - 
getHostname
Description copied from interface:HostLocationEx: developer.mozilla.org in https://developer.mozilla.org:443/en-US/search?q=URL#search-results-close-container- Specified by:
 getHostnamein interfaceHostLocation- Returns:
 - A String containing the domain of the URL.
 
 - 
getPort
Description copied from interface:HostLocationEx: 443 in https://developer.mozilla.org:443/en-US/search?q=URL#search-results-close-container- Specified by:
 getPortin interfaceHostLocation- Returns:
 - A String containing the port number of the URL (or blank if not specified)
 
 - 
fromHref
 - 
fromHref
 
 -