Class RecordType

java.lang.Object
org.apache.pekko.io.dns.RecordType
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product

public final class RecordType extends Object implements scala.Product, Serializable
DNS Record Type
See Also:
  • Constructor Details

    • RecordType

      public RecordType(short code, String name)
  • Method Details

    • apply

      public static <any> apply(short id)
    • A

      public static final RecordType A()
      A host address
    • NS

      public static final RecordType NS()
      An authoritative name server
    • MD

      public static final RecordType MD()
      A mail destination (Obsolete - use MX)
    • MF

      public static final RecordType MF()
      A mail forwarder (Obsolete - use MX)
    • CNAME

      public static final RecordType CNAME()
      the canonical name for an alias
    • SOA

      public static final RecordType SOA()
      marks the start of a zone of authority
    • MB

      public static final RecordType MB()
      A mailbox domain name (EXPERIMENTAL)
    • MG

      public static final RecordType MG()
      A mail group member (EXPERIMENTAL)
    • MR

      public static final RecordType MR()
      A mail rename domain name (EXPERIMENTAL)
    • NULL

      public static final RecordType NULL()
      A null RR (EXPERIMENTAL)
    • WKS

      public static final RecordType WKS()
      A well known service description
    • PTR

      public static final RecordType PTR()
      A domain name pointer
    • HINFO

      public static final RecordType HINFO()
      host information
    • MINFO

      public static final RecordType MINFO()
      mailbox or mail list information
    • MX

      public static final RecordType MX()
      mail exchange
    • TXT

      public static final RecordType TXT()
      text strings
    • AAAA

      public static final RecordType AAAA()
      The AAAA resource record type is a record specific to the Internet class that stores a single IPv6 address.
    • SRV

      public static final RecordType SRV()
      The SRV RR allows administrators to use several servers for a single domain, to move services from host to host with little fuss, and to designate some hosts as primary servers for a service and others as backups.
    • AXFR

      public static final RecordType AXFR()
    • MAILB

      public static final RecordType MAILB()
    • MAILA

      public static final RecordType MAILA()
    • WILDCARD

      public static final RecordType WILDCARD()
    • apply

      public static RecordType apply(short code, String name)
    • unapply

      public static scala.Option<scala.Tuple2<Object,String>> unapply(RecordType x$0)
    • code

      public short code()
    • name

      public String name()
    • copy

      public RecordType copy(short code, String name)
    • copy$default$1

      public short copy$default$1()
    • copy$default$2

      public String copy$default$2()
    • productPrefix

      public String productPrefix()
      Specified by:
      productPrefix in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • productElement

      public Object productElement(int x$1)
      Specified by:
      productElement in interface scala.Product
    • productIterator

      public scala.collection.Iterator<Object> productIterator()
      Specified by:
      productIterator in interface scala.Product
    • canEqual

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • productElementName

      public String productElementName(int x$1)
      Specified by:
      productElementName in interface scala.Product
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object x$1)
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object