org.apache.http.conn.scheme
Interface HostNameResolver


Deprecated. Do not use

@Deprecated
public interface HostNameResolver

Hostname to IP address resolver.

Since:
4.0

Method Summary
 java.net.InetAddress resolve(java.lang.String hostname)
          Deprecated. Resolves given hostname to its IP address
 

Method Detail

resolve

java.net.InetAddress resolve(java.lang.String hostname)
                             throws java.io.IOException
Deprecated. 
Resolves given hostname to its IP address

Parameters:
hostname - the hostname.
Returns:
IP address.
Throws:
java.io.IOException


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.