|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DNSHandler
A DNS handler.
Method Summary | |
---|---|
java.net.InetAddress |
getInetAddress(java.lang.String host)
Look up an internet address. |
java.net.InetAddress |
getInetAddress(java.net.URL url)
Look up an internet address. |
void |
setup(Proxy proxy)
Do any neccessary setup. |
Method Detail |
---|
void setup(Proxy proxy)
proxy
- the Proxy to handle dns requests for.java.net.InetAddress getInetAddress(java.net.URL url) throws java.net.UnknownHostException
url
- the url to get the host from
java.net.UnknownHostException
java.net.InetAddress getInetAddress(java.lang.String host) throws java.net.UnknownHostException
host
- the name of the host to lookup
java.net.UnknownHostException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |