Packages

final case class DomainName(value: String)(implicit conf: UriConfig = UriConfig.default) extends Host with PunycodeSupport with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, PunycodeSupport, Host, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DomainName
  2. Serializable
  3. Product
  4. Equals
  5. PunycodeSupport
  6. Host
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DomainName(value: String)(implicit conf: UriConfig = UriConfig.default)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apexDomain: Option[String]

    Returns the apex domain for this Host.

    Returns the apex domain for this Host.

    The apex domain is constructed from the public suffix prepended with the immediately preceding dot segment.

    Examples include: example.com for www.example.com example.co.uk for www.example.co.uk

    returns

    the apex domain for this domain

    Definition Classes
    DomainNameHost
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. implicit val conf: UriConfig
    Definition Classes
    DomainNameHost
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def longestSubdomain: Option[String]

    Returns the longest subdomain for this host.

    Returns the longest subdomain for this host. E.g. for http://a.b.c.example.com returns a.b.c.example

    returns

    the longest subdomain for this host

    Definition Classes
    DomainNameHost
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def productElementNames: Iterator[String]
    Definition Classes
    Product
  16. def publicSuffix: Option[String]

    Returns the longest public suffix for the host in this URI.

    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

    Definition Classes
    DomainNameHost
  17. def publicSuffixes: Vector[String]

    Returns all public suffixes for the host in this URI.

    Returns all 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 public suffixes for the host in this URI

    Definition Classes
    DomainNameHost
  18. def shortestSubdomain: Option[String]

    Returns the shortest subdomain for this host.

    Returns the shortest subdomain for this host. E.g. for http://a.b.c.example.com returns a

    returns

    the shortest subdomain for this host

    Definition Classes
    DomainNameHost
  19. def subdomain: Option[String]

    Returns the second largest subdomain in this host.

    Returns the second largest subdomain in this 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.

    returns

    the second largest subdomain for this host

    Definition Classes
    DomainNameHost
  20. def subdomains: Vector[String]

    Returns all subdomains for this host.

    Returns all subdomains for this 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 host

    Definition Classes
    DomainNameHost
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toPunycode(host: String): String
    Definition Classes
    PunycodeSupport
  23. def toString(): String
    Definition Classes
    Host → AnyRef → Any
  24. def toStringPunycode: String

    returns

    the domain name in ASCII Compatible Encoding (ACE), as defined by the ToASCII operation of RFC 3490.

    Definition Classes
    DomainNameHost
  25. val value: String
    Definition Classes
    DomainNameHost
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from PunycodeSupport

Inherited from Host

Inherited from AnyRef

Inherited from Any

Ungrouped