Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/uri
UriAuthority
Class UriAuthority
Hierarchy
UriAuthority
Implements
Comparable
<
UriAuthority
>
HashCode
Debug
Display
Index
Methods
compare
To
copy
debug
display
equals
hash
Code
host
host
Address
hostIPv4
hostIPv6
host
Name
host
Part
is
Defined
password
port
port
Number
port
Part
to
Any
to
String
user
user
Part
username
from
from
Any
host
hostIPv4
hostIPv6
host
Name
host
Part
parse
password
port
port
Number
port
Part
undefined
user
user
Part
username
Methods
compare
To
compare
To
(
that
:
UriAuthority
)
:
0
|
1
|
-1
Parameters
that:
UriAuthority
Returns
0
|
1
|
-1
Protected
copy
copy
(
user
:
UriUser
, host
:
UriHost
, port
:
UriPort
)
:
UriAuthority
Parameters
user:
UriUser
host:
UriHost
port:
UriPort
Returns
UriAuthority
debug
debug
(
output
:
Output
)
:
void
Parameters
output:
Output
Returns
void
display
display
(
output
:
Output
)
:
void
Parameters
output:
Output
Returns
void
equals
equals
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
hash
Code
hash
Code
(
)
:
number
Returns
number
host
host
(
)
:
UriHost
host
(
host
:
AnyUriHost
)
:
UriAuthority
Returns
UriHost
Parameters
host:
AnyUriHost
Returns
UriAuthority
host
Address
host
Address
(
)
:
string
Returns
string
hostIPv4
hostIPv4
(
)
:
string
|
null
hostIPv4
(
address
:
string
)
:
UriAuthority
Returns
string
|
null
Parameters
address:
string
Returns
UriAuthority
hostIPv6
hostIPv6
(
)
:
string
|
null
hostIPv6
(
address
:
string
)
:
UriAuthority
Returns
string
|
null
Parameters
address:
string
Returns
UriAuthority
host
Name
host
Name
(
)
:
string
|
null
host
Name
(
address
:
string
)
:
UriAuthority
Returns
string
|
null
Parameters
address:
string
Returns
UriAuthority
host
Part
host
Part
(
)
:
string
host
Part
(
host
:
string
)
:
UriAuthority
Returns
string
Parameters
host:
string
Returns
UriAuthority
is
Defined
is
Defined
(
)
:
boolean
Returns
boolean
password
password
(
)
:
string
|
null
password
(
password
:
string
|
null
)
:
UriAuthority
Returns
string
|
null
Parameters
password:
string
|
null
Returns
UriAuthority
port
port
(
)
:
UriPort
port
(
port
:
AnyUriPort
)
:
UriAuthority
Returns
UriPort
Parameters
port:
AnyUriPort
Returns
UriAuthority
port
Number
port
Number
(
)
:
number
port
Number
(
port
:
number
)
:
UriAuthority
Returns
number
Parameters
port:
number
Returns
UriAuthority
port
Part
port
Part
(
)
:
string
port
Part
(
port
:
string
)
:
UriAuthority
Returns
string
Parameters
port:
string
Returns
UriAuthority
to
Any
to
Any
(
authority
?:
undefined
|
object
)
:
object
|
undefined
Parameters
Optional
authority:
undefined
|
object
Returns
object
|
undefined
to
String
to
String
(
)
:
string
Returns
string
user
user
(
)
:
UriUser
user
(
user
:
AnyUriUser
)
:
UriAuthority
Returns
UriUser
Parameters
user:
AnyUriUser
Returns
UriAuthority
user
Part
user
Part
(
)
:
string
user
Part
(
user
:
string
)
:
UriAuthority
Returns
string
Parameters
user:
string
Returns
UriAuthority
username
username
(
)
:
string
username
(
username
:
string
, password
?:
string
|
null
)
:
UriAuthority
Returns
string
Parameters
username:
string
Optional
password:
string
|
null
Returns
UriAuthority
Static
from
from
(
user
?:
UriUser
, host
?:
UriHost
, port
?:
UriPort
)
:
UriAuthority
Parameters
Default value
user:
UriUser
= Uri.User.undefined()
Default value
host:
UriHost
= Uri.Host.undefined()
Default value
port:
UriPort
= Uri.Port.undefined()
Returns
UriAuthority
Static
from
Any
from
Any
(
authority
:
AnyUriAuthority
|
null
|
undefined
)
:
UriAuthority
Parameters
authority:
AnyUriAuthority
|
null
|
undefined
Returns
UriAuthority
Static
host
host
(
host
:
AnyUriHost
)
:
UriAuthority
Parameters
host:
AnyUriHost
Returns
UriAuthority
Static
hostIPv4
hostIPv4
(
address
:
string
)
:
UriAuthority
Parameters
address:
string
Returns
UriAuthority
Static
hostIPv6
hostIPv6
(
address
:
string
)
:
UriAuthority
Parameters
address:
string
Returns
UriAuthority
Static
host
Name
host
Name
(
address
:
string
)
:
UriAuthority
Parameters
address:
string
Returns
UriAuthority
Static
host
Part
host
Part
(
part
:
string
)
:
UriAuthority
Parameters
part:
string
Returns
UriAuthority
Static
parse
parse
(
string
:
string
)
:
UriAuthority
Parameters
string:
string
Returns
UriAuthority
Static
password
password
(
password
:
string
)
:
UriAuthority
Parameters
password:
string
Returns
UriAuthority
Static
port
port
(
port
:
AnyUriPort
)
:
UriAuthority
Parameters
port:
AnyUriPort
Returns
UriAuthority
Static
port
Number
port
Number
(
number
:
number
)
:
UriAuthority
Parameters
number:
number
Returns
UriAuthority
Static
port
Part
port
Part
(
part
:
string
)
:
UriAuthority
Parameters
part:
string
Returns
UriAuthority
Static
undefined
undefined
(
)
:
UriAuthority
Returns
UriAuthority
Static
user
user
(
user
:
AnyUriUser
)
:
UriAuthority
Parameters
user:
AnyUriUser
Returns
UriAuthority
Static
user
Part
user
Part
(
part
:
string
)
:
UriAuthority
Parameters
part:
string
Returns
UriAuthority
Static
username
username
(
username
:
string
, password
?:
string
|
null
)
:
UriAuthority
Parameters
username:
string
Optional
password:
string
|
null
Returns
UriAuthority
Globals
@swim/core
@swim/codec
@swim/collections
@swim/dataflow
@swim/math
@swim/recon
@swim/streamlet
@swim/structure
@swim/time
@swim/uri
@swim/util
@swim/mesh
@swim/ui
@swim/ux
@swim/web
Uri
Uri
Authority
compare
To
copy
debug
display
equals
hash
Code
host
host
Address
hostIPv4
hostIPv6
host
Name
host
Part
is
Defined
password
port
port
Number
port
Part
to
Any
to
String
user
user
Part
username
from
from
Any
host
hostIPv4
hostIPv6
host
Name
host
Part
parse
password
port
port
Number
port
Part
undefined
user
user
Part
username
Uri
Cache
Uri
Exception
Uri
Fragment
Uri
Host
Uri
Parser
Uri
Path
Uri
Path
Builder
Uri
Port
Uri
Query
Uri
Query
Builder
Uri
Scheme
Uri
User
Uri
Authority
Init
Uri
Init
Uri
User
Init
Any
Uri
Any
Uri
Authority
Any
Uri
Fragment
Any
Uri
Host
Any
Uri
Path
Any
Uri
Port
Any
Uri
Query
Any
Uri
Scheme
Any
Uri
User