protected static class FetchHTTPRequest.ServerCacheResolver extends Object implements org.apache.http.conn.DnsResolver
DnsResolver
that uses the server cache which is
normally expected to have been populated by FetchDNS.Modifier and Type | Field and Description |
---|---|
protected ServerCache |
serverCache |
Constructor and Description |
---|
ServerCacheResolver(ServerCache serverCache) |
protected ServerCache serverCache
public ServerCacheResolver(ServerCache serverCache)
public InetAddress[] resolve(String host) throws UnknownHostException
resolve
in interface org.apache.http.conn.DnsResolver
UnknownHostException
Copyright © 2003–2019 Internet Archive. All rights reserved.