Class JavaxResolver

java.lang.Object
org.jivesoftware.smack.util.dns.DNSResolver
org.jivesoftware.smack.util.dns.javax.JavaxResolver
All Implemented Interfaces:
SmackInitializer

public class JavaxResolver extends DNSResolver implements SmackInitializer
A DNS resolver (mostly for SRV records), which makes use of the API provided in the javax.* namespace. Note that using JavaxResolver requires applications using newer Java versions (at least 11) to declare a dependency on the "sun.jdk" module.