-
scheme
String scheme
A URL’s scheme is an ASCII string that identifies the type of URL and
can be used to dispatch a URL for further processing after parsing.
[spec: It is initially the empty string.]
-
username
String username
A URL’s username is an ASCII string identifying a user.
[spec: It is initially the empty string.]
-
password
String password
A URL’s password is either null or an ASCII string identifying a user’s
credentials. It is initially null.
-
host
String host
A URL’s host is either null or a host. It is initially null.
A host is a domain, an IPv4, or an IPv6. Not implemented: IPv4 and [IPv6].
-
port
int port
A URL’s port is either null or a 16-bit integer that identifies a
networking port. It is initially null.
-
path
String path
A URL’s path is a list of zero or more ASCII string holding data, usually
identifying a location in hierarchical form. It is initially the empty list.
-
query
URLParameters query
A URL’s query is either null or an ASCII string holding data. It is initially null.
-
fragment
String fragment
A URL’s fragment is either null or a string holding data that can be used
for further processing on the resource the URL’s other components identify.
It is initially null.
-
nonRelative
boolean nonRelative
A URL also has an associated non-relative flag. It is initially unset.