|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.http.impl.conn.SystemDefaultDnsResolver
public class SystemDefaultDnsResolver
DNS resolver that uses the default OS implementation for resolving host names.
| Field Summary | |
|---|---|
static SystemDefaultDnsResolver |
INSTANCE
|
| Constructor Summary | |
|---|---|
SystemDefaultDnsResolver()
|
|
| Method Summary | |
|---|---|
java.net.InetAddress[] |
resolve(java.lang.String host)
Returns the IP address for the specified host name, or null if the given host is not recognized or the associated IP address cannot be used to build an InetAddress instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final SystemDefaultDnsResolver INSTANCE
| Constructor Detail |
|---|
public SystemDefaultDnsResolver()
| Method Detail |
|---|
public java.net.InetAddress[] resolve(java.lang.String host)
throws java.net.UnknownHostException
DnsResolver
resolve in interface DnsResolverhost - The host name to be resolved by this resolver.
java.net.UnknownHostExceptionInetAddress
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||