|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrabbit.proxy.DNSJavaHandler
public class DNSJavaHandler
A DNS handler using the dnsjava packages
| Constructor Summary | |
|---|---|
DNSJavaHandler()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DNSJavaHandler()
| Method Detail |
|---|
public void setup(Proxy proxy)
setup in interface DNSHandlerproxy - the Proxy to handle dns requests for.
public java.net.InetAddress getInetAddress(java.net.URL url)
throws java.net.UnknownHostException
getInetAddress in interface DNSHandlerurl - the url to get the host from
java.net.UnknownHostException
public java.net.InetAddress getInetAddress(java.lang.String host)
throws java.net.UnknownHostException
DNSHandler
getInetAddress in interface DNSHandlerhost - 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 | ||||||||