Package akka.io.dns
Class DnsProtocol$
- java.lang.Object
-
- akka.io.dns.DnsProtocol$
-
public class DnsProtocol$ extends java.lang.Object
SupersedesDns
protocol.Note that one MUST configure
akka.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
Fields Modifier and Type Field Description static DnsProtocol$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description DnsProtocol$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DnsProtocol.RequestType
ipRequestType()
Java APIDnsProtocol.RequestType
ipRequestType(boolean ipv4, boolean ipv6)
Java APIDnsProtocol.Resolve
resolve(java.lang.String name)
Java APIDnsProtocol.Resolve
resolve(java.lang.String name, DnsProtocol.RequestType requestType)
Java APIDnsProtocol.RequestType
srvRequestType()
Java API
-
-
-
Field Detail
-
MODULE$
public static final DnsProtocol$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
ipRequestType
public DnsProtocol.RequestType ipRequestType(boolean ipv4, boolean ipv6)
Java API
-
ipRequestType
public DnsProtocol.RequestType ipRequestType()
Java API
-
srvRequestType
public DnsProtocol.RequestType srvRequestType()
Java API
-
resolve
public DnsProtocol.Resolve resolve(java.lang.String name)
Java API
-
resolve
public DnsProtocol.Resolve resolve(java.lang.String name, DnsProtocol.RequestType requestType)
Java API
-
-