| Package | system.network |
| Class | public class URIScheme |
| Inheritance | URIScheme Object |
See:
generic syntax :
<scheme>://[<username>[:<password>]@]<host>[:<port>]/<path>[?<query>][#<fragment>]
| Property | Defined By | ||
|---|---|---|---|
| defaultPort : int
The default port of the scheme. | URIScheme | ||
| delimiter : String
The delimiter value. | URIScheme | ||
| scheme : String
The scheme expression. | URIScheme | ||
| Method | Defined By | ||
|---|---|---|---|
URIScheme(scheme:String, delimiter:String, defaultPort:int = -1)
Creates a new URIScheme instance. | URIScheme | ||
| Constant | Defined By | ||
|---|---|---|---|
| AIRAPPLICATION : URIScheme [static]
AIR Application protocol. | URIScheme | ||
| AIRSTORAGE : URIScheme [static]
AIR Storage protocol. | URIScheme | ||
| FILE : URIScheme [static]
Addressing files on local or network file systems. | URIScheme | ||
| FTP : URIScheme [static]
FTP resources
Syntax:
ftp://[<username$gt;[:<password>]@]<host>[:<port>]/<path>
Example:
ftp://ftp.is.co.za/rfc/rfc1808.txt
| URIScheme | ||
| GOPHER : URIScheme [static]
Gopher protocol
Syntax:
gopher://<host>:<port>/<item type>/<path>
| URIScheme | ||
| HTTP : URIScheme [static]
HTTP resources
Syntax:
http://[<username>[:<password>]@]<host>[:<port>]/<path>[?<query>][#<fragment>]
Example:
http://www.ietf.org/rfc/rfc2396.txt
| URIScheme | ||
| HTTPS : URIScheme [static]
HTTP connections secured using SSL/TLS
Syntax:
https://[<username>[:<password>]@]<host>[:<port>]/<path>[?<query>][#<fragment>]
| URIScheme | ||
| MAILTO : URIScheme [static]
Mail to resources
Syntax:
mailto:<address>[?<header1>=<value1>[&<header2$gt;=<value2>]]
Example:
mailto:John.Doe@example.com
mailto:jsmith@example.com?subject=A%20Test&body=My%20idea%20is%3A%20%0A
| URIScheme | ||
| NEWS : URIScheme [static]
Newsgroups and postings. | URIScheme | ||
| NNTP : URIScheme [static]
Usenet NNTP (Network News Transfer Protocol). | URIScheme | ||
| defaultPort | property |
public var defaultPort:intThe default port of the scheme.
| delimiter | property |
public var delimiter:StringThe delimiter value.
| scheme | property |
public var scheme:StringThe scheme expression.
| URIScheme | () | Constructor |
public function URIScheme(scheme:String, delimiter:String, defaultPort:int = -1)Creates a new URIScheme instance.
Parametersscheme:String — The String representation of the uri scheme.
| |
delimiter:String — The delimiter value.
| |
defaultPort:int (default = -1) — The default port of the scheme.
|
| AIRAPPLICATION | Constant |
public static const AIRAPPLICATION:URISchemeAIR Application protocol.
Syntax:
app:<path>
Example:
app:/DesktopPathTest.xml
| AIRSTORAGE | Constant |
public static const AIRSTORAGE:URISchemeAIR Storage protocol.
Syntax:
app-storage:<path>
Example:
app-storage:/preferences.xml
| FILE | Constant |
public static const FILE:URISchemeAddressing files on local or network file systems.
Syntax:
file://[<host>]/<path>
Example:
file:///C:/Documents%20and%20Settings/bob/Desktop
file:///Users/bob/Desktop
file://alpha.hut.fi/u/lai/tik/tik76002/public_html/lerman.files/chaps
file:///u/lai/tik/tik76002/public_html/lerman.files/chaps
file:///etc/motd
| FTP | Constant |
public static const FTP:URISchemeFTP resources
Syntax:
ftp://[<username$gt;[:<password>]@]<host>[:<port>]/<path>
Example:
ftp://ftp.is.co.za/rfc/rfc1808.txt
| GOPHER | Constant |
public static const GOPHER:URISchemeGopher protocol
Syntax:
gopher://<host>:<port>/<item type>/<path>
| HTTP | Constant |
public static const HTTP:URISchemeHTTP resources
Syntax:
http://[<username>[:<password>]@]<host>[:<port>]/<path>[?<query>][#<fragment>]
Example:
http://www.ietf.org/rfc/rfc2396.txt
| HTTPS | Constant |
public static const HTTPS:URISchemeHTTP connections secured using SSL/TLS
Syntax:
https://[<username>[:<password>]@]<host>[:<port>]/<path>[?<query>][#<fragment>]
| MAILTO | Constant |
public static const MAILTO:URISchemeMail to resources
Syntax:
mailto:<address>[?<header1>=<value1>[&<header2$gt;=<value2>]]
Example:
mailto:John.Doe@example.com
mailto:jsmith@example.com?subject=A%20Test&body=My%20idea%20is%3A%20%0A
| NEWS | Constant |
public static const NEWS:URISchemeNewsgroups and postings.
Syntax:
news:<newsgroupname>
news:<message-id>
Example:
news:comp.infosystems.www.servers.unix
| NNTP | Constant |
public static const NNTP:URISchemeUsenet NNTP (Network News Transfer Protocol).
Syntax:
nntp://<host>:<port>/<newsgroup-name>/<article-number>