Hostname

final class Hostname extends Host

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.

Companion:
object
trait Host
trait Ordered[Host]
trait Comparable[Host]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def equals(other: Any): Boolean
Definition Classes
Any
override def hashCode: Int
Definition Classes
Any

Converts this hostname to lower case.

Converts this hostname to lower case.

Inherited methods

def <(that: Host): Boolean
Inherited from:
Ordered
def <=(that: Host): Boolean
Inherited from:
Ordered
def >(that: Host): Boolean
Inherited from:
Ordered
def >=(that: Host): Boolean
Inherited from:
Ordered
def compare(that: Host): Int
Inherited from:
Host
def compareTo(that: Host): Int
Inherited from:
Ordered

Concrete fields

override val toString: String