Legal Notice, Privacy Policy

Impressum, Datenschutzerklärung

Cerberus X Documentation

Class Url

Declarations

Properties
Domain : String () Returns the domain part of the url.
Fragment : String () Returns the anchor part of the url.
FullPath : String () Returns the path, query and fragment parts of the url, combined with appropriate separators.
Password : String () Returns the password part of the url.
Path : String () Returns the path part of the url.
Port : Int () Returns the port part of the url.
Query : String () Returns the query part of the url.
Scheme : String () Returns the scheme part of the url.
Username : String () Returns the username part of the url.
Constructors
New ( url:String, defaultScheme:String="http", defaultPort:Int=80 ) Creates a new url object.
Methods
Set : Void ( url:String ) Changes the url.
ToString : String () Returns the url as a string.

Properties Documentation

Method Domain : String () Property

Returns the domain part of the url.

Method Fragment : String () Property

Returns the anchor part of the url.

Method FullPath : String () Property

Returns the path, query and fragment parts of the url, combined with appropriate separators.

Method Password : String () Property

Returns the password part of the url.

Method Path : String () Property

Returns the path part of the url.

Method Port : Int () Property

Returns the port part of the url.

Method Query : String () Property

Returns the query part of the url.

Method Scheme : String () Property

Returns the scheme part of the url.

Method Username : String () Property

Returns the username part of the url.


Constructors Documentation

Method New ( url:String, defaultScheme:String="http", defaultPort:Int=80 )

Creates a new url object.

If the url does not contain a scheme or port, the appropriate defaultScheme and/or defaultPort value is used.


Methods Documentation

Method Set : Void ( url:String )

Changes the url.

If the url does not contain a scheme or port, the appropriate default scheme and/or port value provided to the constructor is used.

Method ToString : String ()

Returns the url as a string.