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) |
public DelegatingDnsResolver(DnsResolver delegate)
public InetAddress[] resolve(String host) throws UnknownHostException
resolve
in interface org.apache.http.conn.DnsResolver
UnknownHostException
Copyright © 2019. All rights reserved.