Package org.mockserver.model
Class DnsRecord
java.lang.Object
org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
org.mockserver.model.ObjectWithJsonToString
org.mockserver.model.DnsRecord
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DnsRecordaaaaRecord(String name, String ip) static DnsRecordstatic DnsRecordcnameRecord(String name, String cname) static DnsRecordbooleangetName()getPort()getTtl()getType()getValue()inthashCode()static DnsRecordstatic DnsRecordstatic DnsRecordstatic DnsRecordwithDnsClass(DnsRecordClass dnsClass) withPriority(Integer priority) withType(DnsRecordType type) withWeight(Integer weight) Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toStringMethods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode
-
Constructor Details
-
DnsRecord
public DnsRecord()
-
-
Method Details
-
dnsRecord
-
aRecord
-
aaaaRecord
-
cnameRecord
-
mxRecord
-
srvRecord
-
txtRecord
-
ptrRecord
-
getName
-
withName
-
getType
-
withType
-
getDnsClass
-
withDnsClass
-
getTtl
-
withTtl
-
getValue
-
withValue
-
getPriority
-
withPriority
-
getWeight
-
withWeight
-
getPort
-
withPort
-
equals
- Overrides:
equalsin classObjectWithReflectiveEqualsHashCodeToString
-
hashCode
public int hashCode()- Overrides:
hashCodein classObjectWithReflectiveEqualsHashCodeToString
-