Package org.mockserver.model
Class DnsResponse
java.lang.Object
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mockserver.model.Action
Action.Direction, Action.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DnsResponsebooleangetType()inthashCode()withAdditionalRecords(List<DnsRecord> additionalRecords) withAdditionalRecords(DnsRecord... additionalRecords) withAnswerRecord(DnsRecord answerRecord) withAnswerRecords(List<DnsRecord> answerRecords) withAnswerRecords(DnsRecord... answerRecords) withAuthorityRecords(List<DnsRecord> authorityRecords) withAuthorityRecords(DnsRecord... authorityRecords) withResponseCode(DnsResponseCode responseCode) Methods inherited from class org.mockserver.model.Action
getDelay, getExpectationId, isPrimary, setExpectationId, withDelay, withDelay, withPrimaryMethods inherited from class org.mockserver.model.ObjectWithJsonToString
toStringMethods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode
-
Constructor Details
-
DnsResponse
public DnsResponse()
-
-
Method Details
-
dnsResponse
-
getAnswerRecords
-
withAnswerRecords
-
withAnswerRecords
-
withAnswerRecord
-
getAuthorityRecords
-
withAuthorityRecords
-
withAuthorityRecords
-
getAdditionalRecords
-
withAdditionalRecords
-
withAdditionalRecords
-
getResponseCode
-
withResponseCode
-
getType
- Specified by:
getTypein classAction<DnsResponse>
-
equals
- Overrides:
equalsin classAction<DnsResponse>
-
hashCode
public int hashCode()- Overrides:
hashCodein classAction<DnsResponse>
-