An object describing the parsed pieces of a URL.
Platform Support
| Jaxer Server Framework | Jaxer Client Framework | 1.0 | no |
|---|
Constructors
| Constructor | Action | Jaxer Server Framework | Jaxer Client Framework | ||
|---|---|---|---|---|---|
|
Jaxer.Util.Url.ParsedUrl Constructor() : Jaxer.Util.Url.ParsedUrl
An object describing the parsed pieces of a URL. This object contains sub properties to allow access to the individual pieces
of the URL
|
Show Details | 1.0 | no | ||
Jaxer.Util.Url.ParsedUrl() : Jaxer.Util.Url.ParsedUrlAn object describing the parsed pieces of a URL. This object contains sub properties to allow access to the individual pieces of the URL Returns
|
|||||
Properties
| Property | Action | Jaxer Server Framework | Jaxer Client Framework |
|---|---|---|---|
|
The complete authority (e.g. 'user1@www.aptana.com:8081'), or '' if not specified. Note that the userInfo ('user1') and/or
the port ('8081') may not be present.
|
No Details | 1.0 | no |
|
|
|||
|
The protocol, userInfo, host, and port (e.g. 'http://user1@www.aptana.com:8081'), which might not have a protocol or a port
if they were not specified
|
No Details | 1.0 | no |
|
|
|||
|
The highest-level non-TLD domain (e.g. 'aptana.com' in 'www.playground.aptana.com'), or the IP address if the host was an
IP address
|
No Details | 1.0 | no |
|
|
|||
|
The fragment string (e.g. 'myBookmark') after the # symbol (e.g. # myBookmark), or '' if not specified
|
No Details | 1.0 | no |
|
|
|||
|
The host (e.g. 'www.aptana.com'), or '' if not specified.
|
No Details | 1.0 | no |
|
|
|||
|
The combined host and port (e.g. 'www.aptana.com:8081'), which might be just the host if no port was specified. A synonym
for the authority property.
|
No Details | 1.0 | no |
|
|
|||
|
The last part of the path, namely everything after the last / and before any query or fragment (e.g. "logo.png" in 'http://www.aptana.com/images/small/logo.png?v=12').
If the path ends in a trailing /, this is the empty string. And if the path is completely absent, this is null.
|
No Details | 1.0 | no |
|
|
|||
|
The entire path (e.g. '/images/myImage.gif') between the hostAndPort and the query string or fragment (if any), or '' if none
|
No Details | 1.0 | no |
|
|
|||
|
A possibly-empty array of strings that compose the path part of the URL (e.g. [ "images", "small", "logo.png" ] in 'http://www.aptana.com/images/small/logo.png?v=12').
Note that if the path ends in a /, the last element in the pathParts array (a.k.a. the leaf) will be the empty string.
|
No Details | 1.0 | no |
|
|
|||
|
The port as a string (e.g. '80'), or '' if not specified
|
No Details | 1.0 | no |
|
|
|||
|
The protocol (typically 'http' or 'https'), or '' if not specified. A synonym for the scheme property.
|
No Details | 1.0 | no |
|
|
|||
|
The query string (e.g. 'name=joe&id=12') after the (first) question mark (?), or '' if not specified
|
No Details | 1.0 | no |
|
|
|||
|
An object containing a property for each name=value pair in the query string of the URL, e.g. 'http://www.aptana.com/staff?name=joe&id=12'
leads to queryParts.name = "joe" and queryParts.id = "12"
|
No Details | 1.0 | no |
|
|
|||
|
The scheme (typically 'http' or 'https'), or '' if not specified. A synonym for the protocol property.
|
No Details | 1.0 | no |
|
|
|||
|
The subdomain (e.g. 'www.playground' in 'www.playground.aptana.com') before the domain, or '' if none or if the host was an
IP address
|
No Details | 1.0 | no |
|
|
|||
|
The complete (but whitespace-trimmed) original URL, before parsing
|
No Details | 1.0 | no |
|
|
|||
|
The userInfo in the URL (e.g. 'user1' in 'user1@www.aptana.com'), or '' if not specified.
|
No Details | 1.0 | no |
|
|
|||
