public enum DnsSection extends Enum<DnsSection>
DnsMessage
.Enum Constant and Description |
---|
ADDITIONAL
The section that contains the additional
DnsRecord s. |
ANSWER
The section that contains the answer
DnsRecord s. |
AUTHORITY
The section that contains the authority
DnsRecord s. |
QUESTION
The section that contains
DnsQuestion s. |
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
DnsQuestion
s.public static final DnsSection ANSWER
DnsRecord
s.public static final DnsSection AUTHORITY
DnsRecord
s.public static final DnsSection ADDITIONAL
DnsRecord
s.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–2024 The Netty Project. All rights reserved.