Package org.apache.http.conn.scheme
Interface HostNameResolver
-
@Deprecated public interface HostNameResolver
Deprecated.(4.1) Do not useHostname to IP address resolver.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description InetAddress
resolve(String hostname)
Deprecated.Resolves given hostname to its IP address
-
-
-
Method Detail
-
resolve
InetAddress resolve(String hostname) throws IOException
Deprecated.Resolves given hostname to its IP address- Parameters:
hostname
- the hostname.- Returns:
- IP address.
- Throws:
IOException
-
-