Struct Url
Represents a URL decomposed into its components.
Constructors
Name | Description |
---|---|
this | Constructs a new URL object from its components. |
this | Constructs a URL from its string representation. |
Methods
Name | Description |
---|---|
parse | Constructs a URL from its string representation. |
schema | The schema /protocol part of the URL |
pathString | The path part of the URL in the original string form |
path | The path part of the URL |
host | The host part of the URL (depends on the schema ) |
port | The port part of the URL (optional) |
username | The user name part of the URL (optional) |
password | The password part of the URL (optional) |
queryString | The query string part of the URL (optional) |
anchor | The anchor part of the URL (optional) |
localURI | The path part plus query string and anchor |
parentUrl | The URL to the parent path with query string and anchor stripped. |
toString | Converts this URL object to its string representation. |
startsWith | |
opBinary | |
opBinary | |
opOpAssign | |
opOpAssign | |
opEquals | Tests two URLs for equality using '=='. |
opCmp |
Authors
Sönke Ludwig
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.