public class DelegatingDnsResolver extends Object implements org.apache.http.conn.DnsResolver
DnsResolver
interface,
taking in a DnsResolver
implementation and executing its
DnsResolver.resolve(String)
method to perform the
actual DNS resolution.Constructor and Description |
---|
DelegatingDnsResolver(DnsResolver delegate) |
Modifier and Type | Method and Description |
---|---|
InetAddress[] |
resolve(String host) |
public DelegatingDnsResolver(DnsResolver delegate)
public InetAddress[] resolve(String host) throws UnknownHostException
resolve
in interface org.apache.http.conn.DnsResolver
UnknownHostException