Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rabbit.proxy
Interface DNSHandler

All Known Implementing Classes:
  DNSJavaHandler, DNSSunHandler

    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

### setup

    void setup(Proxy proxy)

  Do any neccessary setup.

  Parameters:
    `proxy` - the Proxy to handle dns requests for.

### getInetAddress

    java.net.InetAddress getInetAddress(java.net.URL url)
                                        throws java.net.UnknownHostException

  Look up an internet address.

  Parameters:
    `url` - the url to get the host from
  Throws:
    `java.net.UnknownHostException`

### getInetAddress

    java.net.InetAddress getInetAddress(java.lang.String host)
                                        throws java.net.UnknownHostException

  Look up an internet address.

  Parameters:
    `host` - the name of the host to lookup
  Throws:
    `java.net.UnknownHostException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD