# Jaxer.Util.Url.ParsedUrl : Object
Return to: Jaxer Framework index

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.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

Returns

Jaxer.Util.Url.ParsedUrl | Returns an instance of ParsedUrl.

## Properties

Property | Action | Jaxer Server Framework | Jaxer Client Framework
--- | --- | --- | ---
base : String 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 | 1.0 | no

domain : String 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

file : String The file (e.g. 'logo.gif') after the hostAndPort and the filename, and before any fragment or query, or '' if not specified | No Details | 1.0 | no

fragment : String The fragment string (e.g. 'myBookmark') after the # symbol (e.g. # myBookmark), or '' if not specified | No Details | 1.0 | no

host : String The host (e.g. 'www.aptana.com'), or '' if not specified | No Details | 1.0 | no

hostAndPort : String The combined host and port (e.g. 'www.aptana.com:8081'), which might be just the host if no port was specified | No Details | 1.0 | no

path : String The path (e.g. '/images') between the hostAndPort and the filename, or '' if none | No Details | 1.0 | no

pathAndFile : String 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 | 1.0 | no

pathParts : Array 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 | 1.0 | no

port : String The port as a string (e.g. '80'), or '' if not specified | No Details | 1.0 | no

protocol : String The protocol (typically 'http' or 'https'), or '' if not specified | No Details | 1.0 | no

query : String The query string (e.g. 'name=joe&id=12') after the (first) question mark (?), or '' if not specified | No Details | 1.0 | no

queryParts : Object 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

subdomain : String 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

url : String The complete (but whitespace-trimmed) original URL, before parsing | No Details | 1.0 | no

aptana_docs