Package org.apache.pekko.io.dns
Class DnsProtocol$
java.lang.Object
org.apache.pekko.io.dns.DnsProtocol$
Supersedes
pekko.io.Dns protocol.
Note that one MUST configure pekko.io.dns.resolver = async-dns to make use of this protocol and resolver.
Allows for more detailed lookups, by specifying which records should be checked, and responses can more information than plain IP addresses (e.g. ports for SRV records).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DnsProtocol$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionJava APIipRequestType(boolean ipv4, boolean ipv6) Java APIJava APIresolve(String name, DnsProtocol.RequestType requestType) Java APIJava API
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
DnsProtocol$
public DnsProtocol$()
-
-
Method Details
-
ipRequestType
Java API -
ipRequestType
Java API -
srvRequestType
Java API -
resolve
Java API -
resolve
Java API
-