public enum DnsSection extends Enum<DnsSection>
DnsMessage.| Enum Constant and Description |
|---|
ADDITIONAL
The section that contains the additional
DnsRecords. |
ANSWER
The section that contains the answer
DnsRecords. |
AUTHORITY
The section that contains the authority
DnsRecords. |
QUESTION
The section that contains
DnsQuestions. |
| Modifier and Type | Method and Description |
|---|---|
static DnsSection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DnsSection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DnsSection QUESTION
DnsQuestions.public static final DnsSection ANSWER
DnsRecords.public static final DnsSection AUTHORITY
DnsRecords.public static final DnsSection ADDITIONAL
DnsRecords.public static DnsSection[] values()
for (DnsSection c : DnsSection.values()) System.out.println(c);
public static DnsSection valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2008–2025 The Netty Project. All rights reserved.