This class represents an Uniform Resource Locator.
scheme://username:password@domain:port/path?query_string#anchor
Defined in: URL.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
jls.net.URL(protocol, host, port, file)
Creates an URL.
|
| Method Attributes | Method Name and Description |
|---|---|
|
Returns the default port associated protocol.
|
|
|
getFile()
Returns the file.
|
|
|
getHost()
Returns the host.
|
|
|
getPath()
Returns the path.
|
|
|
getPort()
Returns the port.
|
|
|
Returns the protocol.
|
|
|
getQuery()
Returns the query.
|
|
|
getRef()
Returns the anchor.
|
|
|
Opens a connection.
|
|
|
Returns the external form of the URL.
|
|
|
toString()
Returns the string value of the URL that is its external form.
|