Package org.minidns.hla
Class ResolverResult<D extends Data>
java.lang.Object
org.minidns.hla.ResolverResult<D>
- Direct Known Subclasses:
SrvResolverResult
-
Field Summary
Modifier and TypeFieldDescriptionprotected final DnsMessage
protected final Question
protected final DnsQueryResult
protected final Set
<DnssecUnverifiedReason> -
Method Summary
-
Field Details
-
question
-
unverifiedReasons
-
answer
-
result
-
-
Method Details
-
wasSuccessful
-
getAnswers
-
getAnswersOrEmptySet
-
getResponseCode
-
isAuthenticData
-
getUnverifiedReasons
Get the reasons the result could not be verified if any exists.- Returns:
- The reasons the result could not be verified or
null
.
-
getQuestion
-
throwIfErrorResponse
- Throws:
ResolutionUnsuccessfulException
-
getResolutionUnsuccessfulException
-
getDnssecResultNotAuthenticException
-
getRawAnswer
Get the raw answer DNS message we received. This is likely not what you want, trygetAnswers()
instead.- Returns:
- the raw answer DNS Message.
- See Also:
-
getDnsQueryResult
-
toString
-
throwIseIfErrorResponse
-