@UnstableApi public class DefaultDnsQuestion extends AbstractDnsRecord implements DnsQuestion
DnsQuestion implementation.CLASS_ANY, CLASS_CHAOS, CLASS_CSNET, CLASS_HESIOD, CLASS_IN, CLASS_NONE| 构造器和说明 |
|---|
DefaultDnsQuestion(java.lang.String name,
DnsRecordType type)
Creates a new
IN-class question. |
DefaultDnsQuestion(java.lang.String name,
DnsRecordType type,
int dnsClass)
Creates a new question.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
toString() |
dnsClass, equals, hashCode, name, timeToLive, typetimeToLivepublic DefaultDnsQuestion(java.lang.String name,
DnsRecordType type)
IN-class question.name - the domain name of the DNS questiontype - the type of the DNS questionpublic DefaultDnsQuestion(java.lang.String name,
DnsRecordType type,
int dnsClass)
name - the domain name of the DNS questiontype - the type of the DNS questiondnsClass - the class of the record, usually one of the following:
public java.lang.String toString()
toString 在类中 AbstractDnsRecord