DnsQuestion implementation.
| Access | Constructor and Description |
|---|---|
| public | DefaultDnsQuestion(String
the domain name of the DNS question name, DnsRecordType the type of the DNS question type)Creates a new |
| public | DefaultDnsQuestion(String
the domain name of the DNS question name, DnsRecordType the type of the DNS question type, int the class of the record, usually one of the following:
dnsClass)Creates a new question. |
| Modifier and Type | Method and Description |
|---|---|
| public DnsQuestion | copy()
Implements io. |
| public String | toString()
Overrides io. |
| DefaultDnsQuestion | back to summary |
|---|---|
| public DefaultDnsQuestion(String name, DnsRecordType type) Creates a new
| |
| DefaultDnsQuestion | back to summary |
|---|---|
| public DefaultDnsQuestion(String name, DnsRecordType type, int dnsClass) Creates a new question.
| |
| copy | back to summary |
|---|---|
| public DnsQuestion copy() Implements io. Doc from io. Returns a copy of this record object. Immutable record objects may return themselves.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides io. Doc from java. Returns a string representation of the object. | |