Package | Description |
---|---|
org.apache.directory.server.dns |
Provides the entry point to an instance of the
DnsServer ,
as well as support for configuration and the root
of the exception hierarchy. |
org.apache.directory.server.dns.messages |
Provides message objects for DNS messages and resource records.
|
Constructor and Description |
---|
DnsException(ResponseCode responseCode)
Creates a DnsException with a response code.
|
Modifier and Type | Method and Description |
---|---|
static ResponseCode |
ResponseCode.convert(byte value)
Converts an ordinal value into a
ResponseCode . |
ResponseCode |
DnsMessage.getResponseCode() |
static ResponseCode |
ResponseCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseCode[] |
ResponseCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
DnsMessageModifier.setResponseCode(ResponseCode responseCode) |
Constructor and Description |
---|
DnsMessage(int transactionId,
MessageType messageType,
OpCode opCode,
boolean authoritativeAnswer,
boolean truncated,
boolean recursionDesired,
boolean recursionAvailable,
boolean reserved,
boolean acceptNonAuthenticatedData,
ResponseCode responseCode,
List<QuestionRecord> question,
List<ResourceRecord> answer,
List<ResourceRecord> authority,
List<ResourceRecord> additional)
Creates a new instance of DnsMessage.
|
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.