Packages

final case class IpV4(octet1: Byte, octet2: Byte, octet3: Byte, octet4: Byte)(implicit conf: UriConfig = UriConfig.default) extends Host with Product with Serializable

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

Instance Constructors

  1. new IpV4(octet1: Byte, octet2: Byte, octet3: Byte, octet4: Byte)(implicit conf: UriConfig = UriConfig.default)

Type Members

  1. type Self = IpV4
    Definition Classes
    IpV4Host

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
    IpV4Host
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. implicit val conf: UriConfig
    Definition Classes
    IpV4Host
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. final def getClass(): Class[_]
    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 URL's host.

    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

    Definition Classes
    IpV4Host
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def normalize: Self

    Returns this host with its character case normalized according to RFC 3986

    Returns this host with its character case normalized according to RFC 3986

    Definition Classes
    IpV4Host
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. val octet1: Byte
  17. def octet1Int: Int
  18. val octet2: Byte
  19. def octet2Int: Int
  20. val octet3: Byte
  21. def octet3Int: Int
  22. val octet4: Byte
  23. def octet4Int: Int
  24. def octets: Vector[Byte]
  25. def octetsInt: Vector[Int]
  26. 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
    IpV4Host
  27. def publicSuffixes: Vector[String]

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

    Definition Classes
    IpV4Host
  28. def shortestSubdomain: Option[String]

    Returns the shortest subdomain for this URL's host.

    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

    Definition Classes
    IpV4Host
  29. def subdomain: Option[String]

    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.

    returns

    the second largest subdomain for this URL's host

    Definition Classes
    IpV4Host
  30. def subdomains: Vector[String]

    Returns all subdomains 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

    Definition Classes
    IpV4Host
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toIpV6Pieces: (Char, Char)
  33. def toString(): String
    Definition Classes
    Host → AnyRef → Any
  34. def toStringPunycode: String

    returns

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

    Definition Classes
    Host
  35. def value: String
    Definition Classes
    IpV4Host
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Host

Inherited from AnyRef

Inherited from Any

Ungrouped