final class Hostname extends HostnamePlatform with Ordered[Hostname]

RFC1123 compliant hostname.

A hostname contains one or more labels, where each label consists of letters A-Z, a-z, digits 0-9, or a dash. A label may not start or end in a dash and may not exceed 63 characters in length. Labels are separated by periods and the overall hostname must not exceed 253 characters in length.

Source
Hostname.scala
Linear Supertypes
Ordered[Hostname], Comparable[Hostname], HostnamePlatform, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Hostname
  2. Ordered
  3. Comparable
  4. HostnamePlatform
  5. AnyRef
  6. Any
Implicitly
  1. by orderingToOrdered
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Hostname to any2stringadd[Hostname] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Hostname, B)
    Implicit
    This member is added by an implicit conversion from Hostname to ArrowAssoc[Hostname] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def <(that: Hostname): Boolean
    Definition Classes
    Ordered
  6. def <=(that: Hostname): Boolean
    Definition Classes
    Ordered
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def >(that: Hostname): Boolean
    Definition Classes
    Ordered
  9. def >=(that: Hostname): Boolean
    Definition Classes
    Ordered
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  12. def compare(that: Hostname): Int
    Definition Classes
    Hostname → Ordered
  13. def compareTo(that: Hostname): Int
    Definition Classes
    Ordered → Comparable
  14. def ensuring(cond: (Hostname) ⇒ Boolean, msg: ⇒ Any): Hostname
    Implicit
    This member is added by an implicit conversion from Hostname to Ensuring[Hostname] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (Hostname) ⇒ Boolean): Hostname
    Implicit
    This member is added by an implicit conversion from Hostname to Ensuring[Hostname] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): Hostname
    Implicit
    This member is added by an implicit conversion from Hostname to Ensuring[Hostname] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): Hostname
    Implicit
    This member is added by an implicit conversion from Hostname to Ensuring[Hostname] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(other: Any): Boolean
    Definition Classes
    Hostname → AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Hostname to StringFormat[Hostname] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def hashCode(): Int
    Definition Classes
    Hostname → AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. val labels: NonEmptyList[Label]
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def normalized: Hostname

    Converts this hostname to lower case.

  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def resolve[F[_]](implicit arg0: Sync[F]): F[Option[IpAddress]]

    Resolves this hostname to an ip address using the platform DNS resolver.

    Resolves this hostname to an ip address using the platform DNS resolver.

    If the hostname cannot be resolved, a None is returned.

    Resolution happens synchronously when the returned task is evaluated so consider shifting the returned task to a blocking execution context.

    Definition Classes
    HostnamePlatform
  31. def resolveAll[F[_]](implicit arg0: Sync[F]): F[Option[NonEmptyList[IpAddress]]]

    Resolves this hostname to all ip addresses known to the platform DNS resolver.

    Resolves this hostname to all ip addresses known to the platform DNS resolver.

    If the hostname cannot be resolved, a None is returned.

    Resolution happens synchronously when the returned task is evaluated so consider shifting the returned task to a blocking execution context.

    Definition Classes
    HostnamePlatform
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. val toString: String
    Definition Classes
    Hostname → AnyRef → Any
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  37. def →[B](y: B): (Hostname, B)
    Implicit
    This member is added by an implicit conversion from Hostname to ArrowAssoc[Hostname] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def <(that: Hostname): Boolean
    Implicit
    This member is added by an implicit conversion from Hostname to Ordered[Hostname] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (hostname: Ordered[Hostname]).<(that)
    Definition Classes
    Ordered
  2. def <=(that: Hostname): Boolean
    Implicit
    This member is added by an implicit conversion from Hostname to Ordered[Hostname] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (hostname: Ordered[Hostname]).<=(that)
    Definition Classes
    Ordered
  3. def >(that: Hostname): Boolean
    Implicit
    This member is added by an implicit conversion from Hostname to Ordered[Hostname] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (hostname: Ordered[Hostname]).>(that)
    Definition Classes
    Ordered
  4. def >=(that: Hostname): Boolean
    Implicit
    This member is added by an implicit conversion from Hostname to Ordered[Hostname] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (hostname: Ordered[Hostname]).>=(that)
    Definition Classes
    Ordered
  5. def compare(that: Hostname): Int
    Implicit
    This member is added by an implicit conversion from Hostname to Ordered[Hostname] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (hostname: Ordered[Hostname]).compare(that)
    Definition Classes
    Ordered
  6. def compareTo(that: Hostname): Int
    Implicit
    This member is added by an implicit conversion from Hostname to Ordered[Hostname] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (hostname: Ordered[Hostname]).compareTo(that)
    Definition Classes
    Ordered → Comparable

Inherited from Ordered[Hostname]

Inherited from Comparable[Hostname]

Inherited from HostnamePlatform

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion orderingToOrdered from Hostname to Ordered[Hostname]

Inherited by implicit conversion any2stringadd from Hostname to any2stringadd[Hostname]

Inherited by implicit conversion StringFormat from Hostname to StringFormat[Hostname]

Inherited by implicit conversion Ensuring from Hostname to Ensuring[Hostname]

Inherited by implicit conversion ArrowAssoc from Hostname to ArrowAssoc[Hostname]

Ungrouped