| Modifier and Type | Field and Description | 
|---|---|
| static io.vertx.lang.rx.TypeArg<DnsClient> | __TYPE_ARG | 
| Constructor and Description | 
|---|
| DnsClient(DnsClient delegate) | 
| DnsClient(Object delegate) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| DnsClient | getDelegate() | 
| int | hashCode() | 
| DnsClient | lookup(String name,
      Handler<AsyncResult<String>> handler)Try to lookup the A (ipv4) or AAAA (ipv6) record for the given name. | 
| DnsClient | lookup4(String name,
       Handler<AsyncResult<String>> handler)Try to lookup the A (ipv4) record for the given name. | 
| Observable<String> | lookup4Observable(String name)Deprecated. 
 use  rxLookup4(java.lang.String)instead | 
| DnsClient | lookup6(String name,
       Handler<AsyncResult<String>> handler)Try to lookup the AAAA (ipv6) record for the given name. | 
| Observable<String> | lookup6Observable(String name)Deprecated. 
 use  rxLookup6(java.lang.String)instead | 
| Observable<String> | lookupObservable(String name)Deprecated. 
 use  rxLookup(java.lang.String)instead | 
| static DnsClient | newInstance(DnsClient arg) | 
| DnsClient | resolveA(String name,
        Handler<AsyncResult<List<String>>> handler)Try to resolve all A (ipv4) records for the given name. | 
| DnsClient | resolveAAAA(String name,
           Handler<AsyncResult<List<String>>> handler)Try to resolve all AAAA (ipv6) records for the given name. | 
| Observable<List<String>> | resolveAAAAObservable(String name)Deprecated. 
 use  rxResolveAAAA(java.lang.String)instead | 
| Observable<List<String>> | resolveAObservable(String name)Deprecated. 
 use  rxResolveA(java.lang.String)instead | 
| DnsClient | resolveCNAME(String name,
            Handler<AsyncResult<List<String>>> handler)Try to resolve the CNAME record for the given name. | 
| Observable<List<String>> | resolveCNAMEObservable(String name)Deprecated. 
 use  rxResolveCNAME(java.lang.String)instead | 
| DnsClient | resolveMX(String name,
         Handler<AsyncResult<List<MxRecord>>> handler)Try to resolve the MX records for the given name. | 
| Observable<List<MxRecord>> | resolveMXObservable(String name)Deprecated. 
 use  rxResolveMX(java.lang.String)instead | 
| DnsClient | resolveNS(String name,
         Handler<AsyncResult<List<String>>> handler)Try to resolve the NS records for the given name. | 
| Observable<List<String>> | resolveNSObservable(String name)Deprecated. 
 use  rxResolveNS(java.lang.String)instead | 
| DnsClient | resolvePTR(String name,
          Handler<AsyncResult<String>> handler)Try to resolve the PTR record for the given name. | 
| Observable<String> | resolvePTRObservable(String name)Deprecated. 
 use  rxResolvePTR(java.lang.String)instead | 
| DnsClient | resolveSRV(String name,
          Handler<AsyncResult<List<SrvRecord>>> handler)Try to resolve the SRV records for the given name. | 
| Observable<List<SrvRecord>> | resolveSRVObservable(String name)Deprecated. 
 use  rxResolveSRV(java.lang.String)instead | 
| DnsClient | resolveTXT(String name,
          Handler<AsyncResult<List<String>>> handler)Try to resolve the TXT records for the given name. | 
| Observable<List<String>> | resolveTXTObservable(String name)Deprecated. 
 use  rxResolveTXT(java.lang.String)instead | 
| DnsClient | reverseLookup(String ipaddress,
             Handler<AsyncResult<String>> handler)Try to do a reverse lookup of an IP address. | 
| Observable<String> | reverseLookupObservable(String ipaddress)Deprecated. 
 use  rxReverseLookup(java.lang.String)instead | 
| Single<String> | rxLookup(String name)Try to lookup the A (ipv4) or AAAA (ipv6) record for the given name. | 
| Single<String> | rxLookup4(String name)Try to lookup the A (ipv4) record for the given name. | 
| Single<String> | rxLookup6(String name)Try to lookup the AAAA (ipv6) record for the given name. | 
| Single<List<String>> | rxResolveA(String name)Try to resolve all A (ipv4) records for the given name. | 
| Single<List<String>> | rxResolveAAAA(String name)Try to resolve all AAAA (ipv6) records for the given name. | 
| Single<List<String>> | rxResolveCNAME(String name)Try to resolve the CNAME record for the given name. | 
| Single<List<MxRecord>> | rxResolveMX(String name)Try to resolve the MX records for the given name. | 
| Single<List<String>> | rxResolveNS(String name)Try to resolve the NS records for the given name. | 
| Single<String> | rxResolvePTR(String name)Try to resolve the PTR record for the given name. | 
| Single<List<SrvRecord>> | rxResolveSRV(String name)Try to resolve the SRV records for the given name. | 
| Single<List<String>> | rxResolveTXT(String name)Try to resolve the TXT records for the given name. | 
| Single<String> | rxReverseLookup(String ipaddress)Try to do a reverse lookup of an IP address. | 
| String | toString() | 
public static final io.vertx.lang.rx.TypeArg<DnsClient> __TYPE_ARG
public DnsClient(DnsClient delegate)
public DnsClient(Object delegate)
public DnsClient getDelegate()
public DnsClient lookup(String name, Handler<AsyncResult<String>> handler)
name - the name to resolvehandler - the Handler to notify with the AsyncResult. The handler will get notified with the resolved address if a record was found. If non was found it will get notifed with null. If an error accours it will get failed.@Deprecated public Observable<String> lookupObservable(String name)
rxLookup(java.lang.String) insteadname - the name to resolvepublic Single<String> rxLookup(String name)
name - the name to resolvepublic DnsClient lookup4(String name, Handler<AsyncResult<String>> handler)
name - the name to resolvehandler - the  to notify with the AsyncResult. The handler will get notified with the resolved Inet4Address if a record was found. If non was found it will get notifed with null. If an error accours it will get failed.@Deprecated public Observable<String> lookup4Observable(String name)
rxLookup4(java.lang.String) insteadname - the name to resolvepublic Single<String> rxLookup4(String name)
name - the name to resolvepublic DnsClient lookup6(String name, Handler<AsyncResult<String>> handler)
name - the name to resolvehandler - the  to notify with the . The handler will get notified with the resolved Inet6Address if a record was found. If non was found it will get notifed with null. If an error accours it will get failed.@Deprecated public Observable<String> lookup6Observable(String name)
rxLookup6(java.lang.String) insteadname - the name to resolvepublic Single<String> rxLookup6(String name)
name - the name to resolvepublic DnsClient resolveA(String name, Handler<AsyncResult<List<String>>> handler)
name - the name to resolvehandler - the Handler to notify with the AsyncResult. The handler will get notified with a List that contains all the resolved Inet4Addresses. If none was found an empty List will be used. If an error accours it will get failed.@Deprecated public Observable<List<String>> resolveAObservable(String name)
rxResolveA(java.lang.String) insteadname - the name to resolvepublic Single<List<String>> rxResolveA(String name)
name - the name to resolvepublic DnsClient resolveAAAA(String name, Handler<AsyncResult<List<String>>> handler)
name - the name to resolvehandler - the Handler to notify with the AsyncResult. The handler will get notified with a List that contains all the resolved Inet6Addresses. If none was found an empty List will be used. If an error accours it will get failed.@Deprecated public Observable<List<String>> resolveAAAAObservable(String name)
rxResolveAAAA(java.lang.String) insteadname - the name to resolvepublic Single<List<String>> rxResolveAAAA(String name)
name - the name to resolvepublic DnsClient resolveCNAME(String name, Handler<AsyncResult<List<String>>> handler)
name - the name to resolve the CNAME forhandler - the  to notify with the . The handler will get notified with the resolved String if a record was found. If none was found it will get notified with null. If an error accours it will get failed.@Deprecated public Observable<List<String>> resolveCNAMEObservable(String name)
rxResolveCNAME(java.lang.String) insteadname - the name to resolve the CNAME forpublic Single<List<String>> rxResolveCNAME(String name)
name - the name to resolve the CNAME forpublic DnsClient resolveMX(String name, Handler<AsyncResult<List<MxRecord>>> handler)
name - the name for which the MX records should be resolvedhandler - the Handler to notify with the AsyncResult. The handler will get notified with a List that contains all resolved MxRecords, sorted by their MxRecord.priority(). If non was found it will get notified with an empty List. If an error accours it will get failed.@Deprecated public Observable<List<MxRecord>> resolveMXObservable(String name)
rxResolveMX(java.lang.String) insteadname - the name for which the MX records should be resolvedpublic Single<List<MxRecord>> rxResolveMX(String name)
name - the name for which the MX records should be resolvedpublic DnsClient resolveTXT(String name, Handler<AsyncResult<List<String>>> handler)
name - the name for which the TXT records should be resolvedhandler - the  to notify with the . The handler will get notified with a List that contains all resolved Strings. If none was found it will get notified with an empty List. If an error accours it will get failed.@Deprecated public Observable<List<String>> resolveTXTObservable(String name)
rxResolveTXT(java.lang.String) insteadname - the name for which the TXT records should be resolvedpublic Single<List<String>> rxResolveTXT(String name)
name - the name for which the TXT records should be resolvedpublic DnsClient resolvePTR(String name, Handler<AsyncResult<String>> handler)
name - the name to resolve the PTR forhandler - the  to notify with the . The handler will get notified with the resolved String if a record was found. If none was found it will get notified with null. If an error accours it will get failed.@Deprecated public Observable<String> resolvePTRObservable(String name)
rxResolvePTR(java.lang.String) insteadname - the name to resolve the PTR forpublic Single<String> rxResolvePTR(String name)
name - the name to resolve the PTR forpublic DnsClient resolveNS(String name, Handler<AsyncResult<List<String>>> handler)
name - the name for which the NS records should be resolvedhandler - the  to notify with the . The handler will get notified with a List that contains all resolved Strings. If none was found it will get notified with an empty List. If an error accours it will get failed.@Deprecated public Observable<List<String>> resolveNSObservable(String name)
rxResolveNS(java.lang.String) insteadname - the name for which the NS records should be resolvedpublic Single<List<String>> rxResolveNS(String name)
name - the name for which the NS records should be resolvedpublic DnsClient resolveSRV(String name, Handler<AsyncResult<List<SrvRecord>>> handler)
name - the name for which the SRV records should be resolvedhandler - the  to notify with the . The handler will get notified with a List that contains all resolved SrvRecords. If none was found it will get notified with an empty List. If an error accours it will get failed.@Deprecated public Observable<List<SrvRecord>> resolveSRVObservable(String name)
rxResolveSRV(java.lang.String) insteadname - the name for which the SRV records should be resolvedpublic Single<List<SrvRecord>> rxResolveSRV(String name)
name - the name for which the SRV records should be resolvedpublic DnsClient reverseLookup(String ipaddress, Handler<AsyncResult<String>> handler)
ipaddress - the IP address to resolve the PTR forhandler - the  to notify with the . The handler will get notified with the resolved String if a record was found. If none was found it will get notified with null. If an error accours it will get failed.@Deprecated public Observable<String> reverseLookupObservable(String ipaddress)
rxReverseLookup(java.lang.String) insteadipaddress - the IP address to resolve the PTR forpublic Single<String> rxReverseLookup(String ipaddress)
ipaddress - the IP address to resolve the PTR forCopyright © 2023 Eclipse. All rights reserved.