An object describing the parsed pieces of a URL.
Platform Support
| Jaxer Server Framework | Jaxer Client Framework | 0.9 | 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 | 0.9 | 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 protocol, host, and port (e.g. 'http://www.aptana.com:8081'), which might not have a protocol or a port if they were not
specified
|
No Details | 0.9 | no |
|
|
|||
|
The highest-level non-TLD domain (e.g. 'aptana.com' in 'www.playground.aptana.com')
|
No Details | 0.9 | no |
|
|
|||
|
The file (e.g. 'logo.gif') after the hostAndPort and the filename, and before any fragment or query, or '' if not specified
|
No Details | 0.9 | no |
|
|
|||
|
The fragment string (e.g. 'myBookmark') after the # symbol (e.g. # myBookmark), or '' if not specified
|
No Details | 0.9 | no |
|
|
|||
|
The host (e.g. 'www.aptana.com'), or '' if not specified
|
No Details | 0.9 | no |
|
|
|||
|
The combined host and port (e.g. 'www.aptana.com:8081'), which might be just the host if no port was specified
|
No Details | 0.9 | no |
|
|
|||
|
The path (e.g. '/images') between the hostAndPort and the filename, or '' if none
|
No Details | 0.9 | no |
|
|
|||
|
The path and file (e.g. '/images/small/logo.png' in 'www.aptana.com/images/small/logo.png') after the domain and before any
query or fragment
|
No Details | 0.9 | no |
|
|
|||
|
A possibly-empty array of strings that compose the path part of the URL (e.g. [ "images", "small" ] in 'www.aptana.com/images/small/logo.png')
|
No Details | 0.9 | no |
|
|
|||
|
The port as a string (e.g. '80'), or '' if not specified
|
No Details | 0.9 | no |
|
|
|||
|
The protocol (typically 'http' or 'https'), or '' if not specified
|
No Details | 0.9 | no |
|
|
|||
|
The query string (e.g. 'name=joe&id=12') after the (first) question mark (?), or '' if not specified
|
No Details | 0.9 | 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 | 0.9 | no |
|
|
|||
|
The subdomain (e.g. 'www.playground' in 'www.playground.aptana.com') before the domain, or '' if none
|
No Details | 0.9 | no |
|
|
|||
|
The complete (but whitespace-trimmed) original URL, before parsing
|
No Details | 0.9 | no |
|
|
|||
