|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DnsResolver
Users may implement this interface to override the normal DNS lookup offered by the OS.
Method Summary | |
---|---|
InetAddress[] |
resolve(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. |
Method Detail |
---|
InetAddress[] resolve(String host) throws UnknownHostException
host
- The host name to be resolved by this resolver.
UnknownHostException
InetAddress
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |