netty5/resolver-dns/src/main/java/io/netty/resolver/dns
Trustin Lee 23db94f5a1 Fix Java 6 compatibility issue in DnsNameResolver
Related: #3173

Motivation:

DnsNameResolver was using InetSocketAddress.getHostString() which is
only available since Java 7.

Modifications:

Use InetSocketAddress.getHostName() in lieu of getHostString() when the
current Java version is less than 7.

Result:

DnsNameResolver runs fine on Java 6.
2014-12-06 22:31:44 +09:00
..
DnsNameResolver.java Fix Java 6 compatibility issue in DnsNameResolver 2014-12-06 22:31:44 +09:00
DnsNameResolverContext.java Name resolver API and DNS-based name resolver 2014-10-16 17:05:20 +09:00
DnsNameResolverGroup.java Name resolver API and DNS-based name resolver 2014-10-16 17:05:20 +09:00
DnsQueryContext.java Check the bindFuture before writing a DNS query 2014-12-01 19:46:18 +09:00
DnsServerAddresses.java Name resolver API and DNS-based name resolver 2014-10-16 17:05:20 +09:00
package-info.java Name resolver API and DNS-based name resolver 2014-10-16 17:05:20 +09:00