com.meterware.httpunit
Interface DNSListener


public interface DNSListener

A listener for DNS Requests. Users may implement this interface to bypass the normal DNS lookup.

Author:
Russell Gold

Method Summary
 java.lang.String getIpAddress(java.lang.String hostName)
          Returns the IP address as a string for the specified host name.
 

Method Detail

getIpAddress

public java.lang.String getIpAddress(java.lang.String hostName)
Returns the IP address as a string for the specified host name. Note: no validation is done to verify that the returned value is an actual IP address or that the passed host name was not an IP address.


Copyright © 2000-2008 Russell Gold. See license agreement for rights granted.