Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Returns the longest subdomain for this URL's host. E.g. for http://a.b.c.example.com returns a.b.c.example
Returns the longest subdomain for this URL's host. E.g. for http://a.b.c.example.com returns a.b.c.example
Attributes
- Returns:
the longest subdomain for this URL's host
Returns the longest public suffix for the host in this URI. Examples include:
com
for www.example.com
co.uk
for www.example.co.uk
Returns the longest public suffix for the host in this URI. Examples include:
com
for www.example.com
co.uk
for www.example.co.uk
Attributes
- Returns:
the longest public suffix for the host in this URI
Returns all longest public suffixes for the host in this URI. Examples include:
com
for www.example.com
co.uk
and uk
for www.example.co.uk
Returns all longest public suffixes for the host in this URI. Examples include:
com
for www.example.com
co.uk
and uk
for www.example.co.uk
Attributes
- Returns:
all public suffixes for the host in this URI
Returns the shortest subdomain for this URL's host. E.g. for http://a.b.c.example.com returns a
Returns the shortest subdomain for this URL's host. E.g. for http://a.b.c.example.com returns a
Attributes
- Returns:
the shortest subdomain for this URL's host
Returns the second largest subdomain for this URL's host.
Returns the second largest subdomain for this URL's host.
E.g. for http://a.b.c.example.com returns a.b.c
Note: In the event there is only one subdomain (i.e. the host is the apex domain), this method returns None
.
E.g. This method will return None
for http://example.com
.
Attributes
- Returns:
the second largest subdomain for this URL's host
Returns all subdomains for this URL's host. E.g. for http://a.b.c.example.com returns a, a.b, a.b.c and a.b.c.example
Returns all subdomains for this URL's host. E.g. for http://a.b.c.example.com returns a, a.b, a.b.c and a.b.c.example
Attributes
- Returns:
all subdomains for this URL's host
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns:
a string representation of the object.
- Definition Classes
- Any
Attributes
- Returns:
the domain name in ASCII Compatible Encoding (ACE), as defined by the ToASCII operation of RFC 3490.
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product